Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'You forgot something...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
You forgot something...
Authored by: wallybear on Jan 30, '08 07:07:23AM

you can omit #!/bin/sh if your script does not use shell internal directives (like a variable assignment, e.g), otherwise it's required.

#!/bin/sh invokes the predefined shell interpreter.

It's a good scripter habit to put it in scripts, also when it could be superfluous.

[ Reply to This | # ]