MacOS shebang for Bash Scripts

This will allow you to run Bash scripts from ZSH by just doing ./{script}.

Shebang – From the CLI, add this line:

#!/usr/bin/env bash

Change the permission to your script to make it executable:

chmod +x {MYSCRIPT}.sh

Try to run your script:

./{MYSCRIPT}.sh
More Stories
Windows 2016 Performance Tuning