Re: [Ilugc] Setting Environmental variable in centos

2014-05-06 Thread Mehul Ved
On Tue, May 6, 2014 at 11:37 AM, hari prasadh 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 h

Re: [Ilugc] Setting Environmental variable in centos

2014-05-06 Thread Mehul Ved
On Tue, May 6, 2014 at 11:37 AM, hari prasadh wrote: > 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

[Ilugc] Setting Environmental variable in centos

2014-05-05 Thread hari prasadh
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 s