title: How do I link an application to usr/local/bin so I can call it globally in the terminal. Mac
body: <p>I installed a new code editor. Sublime 3. 
  I want to be able to open Sublime from the command terminal so I can use commands like</p>
  
  <pre><code>Editor .
  </code></pre>
  
  <p>To open a code project whose directory I am in.</p>
  
  <p>To do this I tried linking the Sublime App to my 'usr/local/bin' in the following ways. </p>
  
  <pre><code>ln -s /Applications/Sublime Text.app /usr/local/bin
  ln -s /Applications/Sublime Text /usr/local/bin
  </code></pre>
  
  <p>'Sublime' now shows up in the '/usr/local/bin' directory, however the following commands don't work.</p>
  
  <pre><code>cd /path/code_folder
  Sublime . 
  Sublime Text.app . 
  Sublime Text . 
  </code></pre>
  
  <p>They all return</p>
  
  <pre><code>-bash: Sublime: command not found
  </code></pre>