Tuesday, October 12, 2010

ln -s: which one's which

Posted because I can never find this via Google with less than three clicks.

ln -s foo bar

creates a link named bar which points to foo.

Update: Several people have pointed out that it works like cp and mv.