[Ilugc] Setting Environmental variable in centos

  • From: mehul.n.ved@xxxxxxxxx (Mehul Ved)
  • Date: Tue, 6 May 2014 13:07:22 +0530

On Tue, May 6, 2014 at 11:37 AM, hari prasadh <hariprasadh89 at gmail.com> 
wrote:

source .bash_profile.the environmental variable is set as long as logout
from the system.when i login again the environmental variable is not
set.Again i need to do source .bash_profile.
how to do this permanently.

This might help you
http://shreevatsa.wordpress.com/2008/03/30/zshbash-startup-files-loading-order-bashrc-zshrc-etc/

Other related posts: