Remember Symlink Argument Order by Remembering The Titans

1 Comment

I can never remember the right argument order when creating symlinks. Does the link go on the left… or… wait… the right? It’s annoying to keep looking this up, so today I forced myself to think of a way to remember it. I ended up settling on the “Left Side, Strong Side” line from Remember The Titans. Obviously the real thing is stronger than the link, so that goes on the left:

ln -s real_file name_of_link

http://www.youtube.com/watch?v=cMLGiwkkc-4&t=1m11s

Will this help you remember your symlink argument order?

About Joseph

Software Engineer at AppNexus

This entry was posted in Uncategorized. Bookmark the permalink.

1 Comment
  • Edward Buckley

    I used to have the same problem, until I realised that the argument ordering is the same as if using the ‘cp’ (copy) command.
    i.e. ln -s from_existing_file to_new_file_link