Yes, you can run a .sh file on Mac. In order to do so, you will first need to open the Terminal application. Once Terminal is open, you will need to change the directory to the location of the .sh file using the cd command. Once you are in the correct directory, you can type ./filename.sh in order to run the shell script.