Home » Shell Scripting She Bang

Shell Scripting She Bang

by Online Tutorials Library

Shell Scripting She-bang

The sign #! is called she-bang and is written at top of the script. It passes instruction to program /bin/sh.

To run your script in a certain shell (shell should be supported by your system), start your script with #! followed by the shell name.

Example:

Next TopicSS Comment

You may also like