Running a Bash/Zsh Script Option 1: open the terminal and cd into the folder where your script is located. ... Option 2: make the script 'executable' by running chmod +x myscript.sh on the terminal. ... Option 3: move myscript.sh into one of the folders in your PATH (to see what these folders are, run echo $PATH ). More items...