how to execute a .sh file on mac code example Example: run sh from terminal mac chmod +x fileName bash fileName