PDA

View Full Version : [ubuntu] bash script to file



docetes
October 15th, 2009, 11:29 AM
The following

echo hello > $home/file.html

doesn't seem to work. I'm a bit stumped any thoughts?

DaithiF
October 15th, 2009, 11:31 AM
case sensitive, try $HOME/file.html

diesch
October 15th, 2009, 11:31 AM
Do you mean $HOME instead if $home?

HNS-I
October 15th, 2009, 11:32 AM
Capitalise home, i.e. $HOME/yourfile