how to run a shell script on mac code example Example: make shell script executable chmod +x filename.sh