The SH file extension is used for Unix shell (Bourne-Again SHell). Bash is a free software Unix shell written for the GNU Project. SH file contains instructions written in the Bash language. SH file can be executed by typing text commands.
The SH file extension is used for identifying a compressed file archive. SH file contains files and a shell script with instructions on how to extract the contents.