Howdy,

About 3 days ago I noticed that my PATH had been altered. To be exact, it had been 
shortened. The most notable thing it that /usr/local* isn't there any more - no good 
because I use a lot of things that are in /usr/local/bin.

First, does anyone have any idea what sort of thing could screw up a working $PATH? I 
am 100% sure non of the files in my ~ got touched.

Even stranger is that every single user seems to get different results from "echo 
$PATH" even though we have _not_ edited our dot-files (i.e. .bash_profile .bashrc 
.profile ....) they are all still the default as follows:

        PATH=$PATH:$HOME/bin
So I started greping for "$PATH" and export "PATH" in /etc/, and found it /only/ in 
/etc/profile and /etc/bashrc. To my surprise, both of those /also/ call a previous 
$PATH, and simply append to it:

        PATH="$PATH:/usr/X11R6/bin"

So my question is, where on earth is the original value for $PATH set?

        JW



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to