Creating Link for Command Line Tools


/ Published in: Bash
Save to your folder(s)

You can change the 'PATHTOTOOL' and the 'PATHTOLINK', to use this command for a variety of tools

'-s' is used to create a symbolic link (http://en.wikipedia.org/wiki/Symbolic_link).


Copy this code and paste it in your HTML
  1. ln -s "PATHTOTOOL" PATHTOLINK
  2.  
  3. Example:
  4. ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.