BladeSystem Forums have moved here
To make BladeSystem information easier to find, we have moved the BladeSystem forums here, to Servers and Operating Systems.
Languages and Scripting
Showing results for 
Search instead for 
Do you mean 

Setting shell variables

Highlighted
Occasional Visitor

Setting shell variables

[ Edited ]

I need to set $HOME path in my application where the files ll b read while compiling.

When i try to set $XXX_HOME = "certain path" , i am getting error as "$XXX_HOME : parameter not set"

 

 

P.S. The thread subject has beed edited. - HP Forum Moderator

2 REPLIES
Acclaimed Contributor

Re: Setting shell variables

If you want to set a shell variable, you don't use the "$", if on the left side:

XXX_HOME="certain path"

Occasional Advisor

Re: Setting shell variables

export XXXX_HOME="certain path"