Welcome Guest | Login

What is the Purpose of the Shebang

This is a more general question that I cannot find an answer too.  If the Shebang is commented out, why is it so important that files have the same Shebang?

2008-05-02 04:46 PM

The wikipedia article on this is an interesting read.  Essentially the answer is:

"Because the "#" character is often used as the comment marker in scripting languages, the contents of the shebang line will be automatically ignored by the interpreter itself; the shebang line only exists to specify the correct interpreter to be used."

2008-05-02 05:45 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up today!