Script shebang

suggest change

Syntax

#!/bin/bash

#!/usr/bin/env bash

Remarks

A common mistake is to try to execute Windows end-line formatted \r\n script files on UNIX/Linux systems, in this case the used script interpreter in the shebang is:

/bin/bash\r

And is obliviously not found but can be hard to figure out.

Feedback about page:

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



Table Of Contents