How do you set the PATH, JAVA_HOME or CLASSPATH in Redhat Linux?
I want to know how to set it such that when the OS is booted up, these variables are set. In Windows, this is done in the Control Panel -> System -> Advance -> Environment Variables.
I also want to know how you override the default variables in a particular shell. In Windows, we can do SET PATH=%PATH%;c:\newpath to override the default PATH.
Start Free Trial