[Ilugc] Setting Environmental variable in centos

  • From: hariprasadh89@xxxxxxxxx (hari prasadh)
  • Date: Tue, 6 May 2014 11:37:31 +0530

Hi All,

When i set environmental variable in /home/jboss/.etc_profile

 HOST="hari"
URL="http://localhost";
export HOST
export URL

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.

-- 
Thanks & Regards,
HariPrasadh

Other related posts: