Posted By

LucasRinaldi on 09/14/12


Tagged


Versions (?)

Creating Link for Command Line Tools


 / Published in: Bash
 

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).

  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  

You need to login to post a comment.