2025-04-28 Tips on writing shell scripts on mac mac shell To make a shell script executable run chmod 755 myscript.sh or chmod +x myscript.sh in terminal.