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

you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 2 years 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.

  • source
  • parent