Hi, I have Linux RedHat 7.0 and a book called Linux for Newbie but it doesn't say anything about how to configure a path for users or to add something to a path.
can someone tell me how and recommend a book? thanks a lot |
If you want to make systemwide changes to your path, you have to do it in /etc/profile.
But it is better to adjust the path settings in the users home directoy by editing the ".bash_profile" (if you are using the bash). Add new path to the line "PATH=$PATH:$HOME/.....:/ After editing this file you have to "source" it with the following command: ". ./.bash_profile". By doing so, the .bash_profile is beeing re-read by the shell. For documentation take a look at http://www.linuxdoc.org. There you will find most of the stuff you need. cu |
All times are GMT -5. The time now is 04:33 PM. |