PATH editing...
What configuration file is the inital PATH statement located? I know that .bashrc has a PATH statement, but mine only adds, or is that wrong? Is there a general, system wide, PATH statement that is modified by user PATHs? i.e. in DOS. in autoexec.bat you set the PATH= and that is the inital. and you can add to it by %PATH=. Where is the "PATH=" in linux?
:newbie: |
You should take a look at /etc/profile it is a simple shell script wich sets some of the important environment variables
|
For a user, there are really four places the PATH might be set. /etc/bashrc, /etc/profile, ~/.bashrc, and ~/.bash_profile. Different distros put the path into those files differently so you'll look through 'em and figure out how your distro does things.
|
All times are GMT -5. The time now is 01:37 AM. |