Explains how to set and use Linux environment variables using export command and /etc/profile or ~/.bash_profile file.
www.cyberciti.biz