PATH variable file
hi
can someone tell me about the file in the home directory that contains the PATH variable, what does it do, and how do we inspect its value |
it can be in any file that is executed on startup of the shell
.bashrc .bash_login .bash_profile /etc/profile type set|more hit enter view away. |
echo $PATH
For global settings, you might want to check out /etc/profile.d/. Adding new folders to your path is done with: export PATH="$PATH:/some/other/path" |
All times are GMT -5. The time now is 02:11 PM. |