title: How do I change where Bash looks for Python in Linux?
body: <p>I just updated my ReadyNas from python 2.3.5 to python 2.6.6. The upgrade placed the new version in the <code>/usr/local/bin</code> directory. So</p>
  
  <ul>
  <li><code>/usr/local/bin/python</code> is Python 2.6.6</li>
  <li><code>/usr/bin/python</code>       is Python 2.3.5</li>
  </ul>
  
  <p>When I type <code>python</code> at a bash prompt tries to run <code>/usr/bin/python</code> or my old version. I relocated my old version, and now I get:</p>
  
  <pre><code>bash: /usr/bin/python: No such file or directory
  </code></pre>
  
  <p>How can I change where bash looks for python? How is bash currently deciding that when I type <code>python</code> that it only looks in <code>/usr/bin</code> for python?</p>