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