run command in mac using shell script code example Example: run sh from terminal mac chmod +x fileName bash fileName