dcsimg
what is the difference between ${HOME} and $HOME??
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, June 10, 2005 08:32 AM

Can somebody please tell me the difference between ${HOME} and $HOME.

Re: what is the difference between ${HOME} and $HOME??

Posted By:   Almagest_FUTT  
Posted On:   Friday, June 10, 2005 08:40 AM

You use the brackets when you have to be precise on what the variable's name exactly is. A sample to make myself clear:

> echo $HOMEblablabla

# nothing #

> echo ${HOME}blabla

[the value of $HOME]blabla
About | Sitemap | Contact