How do I run a .sh or .command file in Terminal I've always wanted to be able to run a script I've downloaded online directly from the Finder but just double clicking the file does not work.
Open Terminal, type in sh /path/to/file and press enter. 

Faster is to type sh and a space and then drag the file to the window and release the icon anywhere on the window.