Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
To run an shell script file, go to Terminal and type sh and a space. Then drag and drop the sh file into Terminal. Press enter.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.