Do you add to the path line or make a new path in /etc/profile?
I think I need to add java to my path. Do I need to add to the PATH line in /etc/profile or do I make a new PATH line.
Thank You. |
either one, I suspect. PATH gets set/modified in various places including ~/.profile
Syntax to change it: export PATH="$PATH:<newpathname>" |
You should read the FILES section of the bash manual page to understand which file is best. If you want all users on the system to be able to use it at any time, probably /etc/profile is the place.
|
All times are GMT -5. The time now is 09:09 PM. |