Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remember order of parameters to `ln` command? [closed]

Tags:

linux

bash

unix

ln

I don't use ln command on daily basis, so when I need to create a link to a file, I always forget whether it's ln <target file> <link name>, or ln <link name> <target file>, so I have to take a quick glance at man ln.

Maybe it's just me, but if not, do you have any tricks (mnemonic?) for remembering the order of ln parameters?

like image 303
dorserg Avatar asked May 07 '14 18:05

dorserg


1 Answers

It takes arguments in the same order as cp and mv.

like image 55
amalloy Avatar answered Oct 02 '22 13:10

amalloy