About Bash Shebang

To create a cross-platform bash script myscript.sh, add this shebang line as the first line of the file:

#!/usr/bin/env bash

Then make this file executable with:

$ chmod u+x myscript.sh

Programming Dev Ops Bash