Editing a Path

Michael Kelly mkelly2002NOSPAM at earthlink.net
Mon Dec 3 21:32:39 CET 2001

On Mon, 03 Dec 2001 11:58:41 -0800, Ben Ocean <zope at thewebsons.com>

>This may be slightly OT, but I need to edit my path /usr/bin/python such 
>that it renders python2.1 instead of python1.5.2
>I built python2.1 from source on an RH71 box. How do I update the path?
Use the ln command to change the soft link.
man ln

from the /usr/bin directory do
ls -l python
if you get something like:
python -> python1.5.2
then it's a soft link pointing to that directory.
Just use ln to point it to python2.1



"I don't want to belong to any club that would have me as a member."
    -- Groucho Marx

More information about the Python-list mailing list