Permanently store PATH variables
Hi its me again
I still cant store my PATH variables permanently, even though i put it in my .bsah_profile file this time. It still does not work. Is there any other way to store the PATH variable permanently, because every time i log on i hav to write the same old PATH again and again. Help me plzzz... :cry: |
Show your .bash_profile and describe the problem in more detail ie with example.
You do know you need to logout and back in again, or use . ./.bash_profile In other words, PATH is an env var, which is a static setting, so you need to re-init the shell to make it re-read the file. |
I usually put it in .bashrc, that works, or in '/etc/profile' (in some cases I have to do this because of strange issues when su into root.
|
All times are GMT -5. The time now is 05:42 PM. |