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