As I'm using Red Hat Linux 5.3, I'm unable to set environment variable permanently. I want the file names for csh, from which I can add the environment variables permanently.


For one user, add it to ~/.cshrc. To apply it to all users add it to /etc/csh.cshrc:

setenv PATH /opt/something-special/
setenv VARNAME some_value

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.