The Path statement is "built up" by the execution of various scripts.



PATH=$PATH:/usr/java/bin:

Would append the :/usr/java/bin: to the path statement variable as it
existed at the start of script execution.

Thus if you only looked at on place for this you would not find it.

The only thing wrong with your path, is that somewhere the existing path
is being appended to itself..

I.E.

PATH=PATH$:/usr/X11R6/bin:/usr/games: in one file

Is followed by

PATH=PATH$:.:PATH$

In another, or something very similar to this...

Look at 

/etc/profile
/etc/.bashrc
/etc/.bash_profile

Etc.

-JMS


|-----Original Message-----
|From: [EMAIL PROTECTED] 
|[mailto:[EMAIL PROTECTED]] On Behalf Of michael
|Sent: Thursday, October 18, 2001 12:54 PM
|To: [EMAIL PROTECTED]
|Subject: [newbie] $PATH is wacked
|
|
|I haven't modified my $PATH, but something sure has (at 
|least I hope so)
|[michael@michael michael]$ echo $PATH 
|/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/usr/X11R6/
|bin:/usr/games:.:/usr/X11R6/bin:/usr/games:.:/usr/X11R6/bin:/usr/
|games:/usr/X11R6/bin:/usr/games:.:/usr/X11R6/bin:/usr/games:/
|home/michael/bin 
|
|[root@michael CIS55A]# echo $PATH 
|/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
|
|Very weird. I haven't done anything to anyone's path, but 
|michael's looks over padded and root's looks a bit sparse.
|
|1) what is your root and user path?
|2)where do they live?
|3)how do i change them for more than the current session 
|(ie so when i reboot they won't revert)?
|I recall trying with 8.0 and not being able to get it to 
|stick...
|-- 
|-michael-
|
|


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to