Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Languages and Scripting
Showing results for 
Search instead for 
Did you mean: 

Setting shell variables

Occasional Visitor

Setting shell variables

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

Dennis Handly
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"