The Key is to know about the startup files. know which startup files are looked for , when an shell session starts.
when an default user login takes place , the login shell is started. so it look its startup files /etc/profile $HOME/.bash_profile $HOME/.bash_login $HOME/.profile The .bashrc file in ~ directory is the start up file that is looked up only when you start an interactive shell. if you want the variable to be set for all users , you can edit thee /etc/profile file -- Vijeenrosh P.W CSE S3 blog : www.BlackJackVijeen.blogspot.com -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
