[Tutor] Confusion with $PATH

Martin Walsh mwalsh at mwalsh.org
Fri Sep 25 19:31:13 CEST 2009


Wayne wrote:
> On Fri, Sep 25, 2009 at 11:32 AM, David Eric <ciik13 at gmail.com
> <mailto:ciik13 at gmail.com>> wrote:
> 
>     ok this is really weird . . . 
>     i tried running the helloworld again, and it doesnt work :/
> 
>     DTm:~ davidteboul$ echo $PATH
>     PATH$/Library/Frameworks/
>     Python.framework/Versions/3.1/bin:/Library/Frameworks/Python.framework/Versions/3.0/bin:/Library/Frameworks/Python.framework/Versions/Current/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin/Users/davidteboul/bin/pythonStuff

Also, it looks like you missed a colon, to separate the newly added path
from the last one in the list.

{...}/sbin:/usr/local/bin:/usr/X11/bin:/Users/davidteboul/bin/pythonStuff
                                      ^

HTH,
Marty



More information about the Tutor mailing list