where are the environment variables stored?
I know how to append $PATH, but I'd like to edit the file where the $PATH is actually stored. That's because I have there something which is not needed any more. I have edited that file before, but now I have forgotten where it is situated! So is there a way to find it? My distro is SoL 16
|
It could be that you are thinking of /etc/profile, if you mean the system-wide $PATH setting. Other than that, your user account $PATH variable can be set in ~/.profile or ~/.bashrc.
|
Thanks, that's the file I was lookin' for!
What I really love about this site, is the rapidity, with which questions are answered :) |
Your user account paths could also be in ~/.bash_profile depending on your distro.
|
All times are GMT -5. The time now is 01:26 PM. |