Direct shebang

suggest change

To execute a script file with the bash interpreter, the first line of a script file must indicate the absolute path to the bash executable to use:


The bash path in the shebang is resolved and used only if a script is directly launch like this:


The script must have execution permission.

The shebang is ignored when a bash interpreter is explicitly indicated to execute a script:


Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents