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.
#!/bin/sh
who am i
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.
#!/bin/sh
who am i
No comments
Post a Comment