Is there anything that could help me memorise the argument order of the ln command?

I’ll take anything from little helper phrases over shell extensions to replacements written in Rust. I only use the command occasionally, but I need a fool-proof solution. Do you have any tricks to get it right?

@linuxquestions

#AskFedi #Linux

  • zagaberoo@beehaw.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 hours ago

    This is the one that works for me, too.

    A link operation is meaningless without a target, so that must come first.

    If you don’t specify a name for the link, a reasonable name can be inferred from the target. So, the link name goes last, where it can be potentially omitted.