Why are my links going in the wrong place?
Cameron Hutchison
lists at xdna.net
Wed Dec 29 03:07:28 UTC 2010
Dotan Cohen <dotancohen at gmail.com> writes:
>I just need to remember the reverse-for-me order of
>the arguments. No big deal, as it doesn't clobber anything if I get it
>wrong.
I always get this wrong too. The way I use to remember it is to think in
terms of mv(1).
e.g.
$ mv existing_file new_file
$ ln -s existing_file new_file
It's similar in that at the end of the command, new_file exists with the
contents of existing_file (in a way). Obviously with mv(1),
existing_file ceases to exist with that name, but the operations are
somewhat similar.
More information about the ubuntu-users
mailing list