title: Safe way to remove a symbolic link to an non-existing directory (for the python binary)
body: <p>I accidentally typed:</p>
  
  <pre><code>sudo ln -sf /usr/local/bin/python2.5/ /usr/bin/python 
  </code></pre>
  
  <p>instead of: </p>
  
  <pre><code>sudo ln -sf /usr/local/bin/python2.5 /usr/bin/python
  </code></pre>
  
  <p>Now bash tells me that /usr/bin/python is not a directory whenever I run python.</p>
  
  <pre><code>ls -l /usr/bin/python gives me expectedly /usr/bin/python --&gt; /usr/local/bin/python2.5/
  </code></pre>
  
  <p>Is there any safe way to remove that symbolic link to a directory (that does not exist) and replace it with a link to the intended file?</p>
  
  <p>Arigato in advance if you have any ideas.</p>
  
  <p>I am stuck....</p>