echo $PATH?
"echo $PATH" shows:
Code:
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin |
what distro are you using?
for redhat 9 you can see the PATH=$PATH: in your .bash_profie file. This is run whenever a user logs in. In debian based KNOPPIX i can see my PATH variable setup initiallyin /etc/profile. RH may have it in /etc/profile or /etc/.profile. This path is then added to in .bash_profile for individual users. files that begin with a . are hidden and can be seen with ls -a or i prefer ls -al |
Bash Settings for all users are done in /etc/profile. Settings for the individial user is done in ~/.bash_profile.
The initial PATH will be set up in /etc/profile. If you wish to modify your path, make the changes in ~/.bash_profile. On a side note, please add what distro you are using to your profile, as it makes it easier for people to help you. I hope this helps --Ian |
All times are GMT -5. The time now is 01:49 AM. |