Skip to content

Instantly share code, notes, and snippets.

@davidchambers
Created June 14, 2012 20:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidchambers/2932794 to your computer and use it in GitHub Desktop.
Save davidchambers/2932794 to your computer and use it in GitHub Desktop.
I get the arguments to `ln -s` round the wrong way at least half the time. This simple script makes this relatively common operation easy to get right.
@davidchambers
Copy link
Author

Installation

curl -s https://raw.github.com/gist/2932794/symlink > symlink &&
chmod 755 symlink &&
mv symlink /usr/local/bin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment