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