title: can't use terminal from error in .bash_profile
body: <p>I added some things to my .bash_profile on my Mac OS X and they give an error. Here is my entire log of text when I start a terminal now:</p>
  
  <pre><code>Last login: Thu Oct 25 23:10:03 on ttys000
  dirname: illegal option -- b
  usage: dirname path
  -bash: /bin/naoqi-bin: No such file or directory
  -bash: exec: /bin/naoqi-bin: cannot execute: No such file or directory
  
  [Process completed]
  </code></pre>
  
  <p>The problem is that since "Process completed", I can't use terminal. How do I access .bash_profile (I can't find out how from the finder), or how do I run terminal normally again so I can get that out of the .bash_profile file?</p>