Results 1 to 3 of 3
Hey all, I am trying to add a path to my PATH variable on redhat linux and seem to be having problems. I can set the path variable like this: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-15-2013 #1
- Join Date
- Feb 2013
altering PATH variable
and that works fine but its not a permanent fix. Also, that only works for the current terminal session. If I try and open another terminal session I would have to retype in the commands. I have read I need to change my ~/.bash_profile file but that file does not exist. I created the file in the ~ directory and added the two lines above but when I log out and log back in, the PATH variable is not changed. Any help would be great!
- 02-15-2013 #2"I'm just a little old lady; don't try to dazzle me with jargon!"
- 02-15-2013 #3
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
What hazel suggests will work, but isn't optimal. It is best to put the in your ~/.bash_profile instead:
Just for my information, what distribution+version of Fedora/RedHat are you running?Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!