make .sh executable mac code example
Example 1: how to make a .sh file executable
chmod u+x <fileName>.sh
Example 2: macos make file executable
chmod +x filename.sh
Example 3: macos make file executable
chmod 755 YourScriptName.sh
chmod u+x <fileName>.sh
chmod +x filename.sh
chmod 755 YourScriptName.sh