Tuesday, December 6, 2011

Magic Word Shebang! or hashbang

In unix shell scripts, the #!/bin/sh must be the first line of a shell script in order for sh to be used to run
the script. It is called shebag or hashbang.
If this appears on any other line, it is treated as a comment and ignored by all shells.
who am i

No comments: