I have updated the PATH environmental variable on a Redhat distribution but after reboot, the path is gone.

To add the path:

export  PATH  

echo $PATH

reboot removes the path

echoing after


To make changes in environment path persistent, add that lines with export to your .profile file.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.