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