Bash Hello World in 60 Seconds

How to write a bash ‘hello world’ script in 60 seconds, admitedly it could of been faster … damn typos

Also the first line you can add as an alias, if your going to be writing a lot of bash scripts.


Or you can copy paste and have it done in about 5 seconds :-P

BPATH=`which bash`; echo "#! $BPATH" | awk '{print $1$2}' >

The reason for the echo and awk is when trying to do echo “#!$BPATH” > my shell wouldn’t cooperate so all the awk does is take out the space :-).