Your email address belongs to a school and you are eligible for a free educational premium account.
Learn more

SH - Bash Shell Script

What is a SH file

Files using the SH extension contain code for different kinds of script that can be used for the Unix shell bash. The scripts can, however, also be written for other shell programs including C-Shell and Bourne Shell.

The scripts contained in the SH files are written in the Bash command language. The scripts comprise of commands written in this language. The code is written in a plain text format. To execute the scripts contained in the SH files, one has to type in commands in the Bash shell's command-line tool.

Here's a small, but not exhaustive list of programs that can open SH documents:

  • Apple Terminal (Mac)
  • Cygwin (Windows)
  • BNU Bash (Windows, Mac & Linux)
  • gVIM (Windows)
  • iTerm (Mac)
  • MacVim (Mac)
  • Notepad++ (Windows)
  • Vim (Linux)
Extension SH
MIME type application/x-sh, text/plain, application/x-bsh, application/x-shar, text/
Useful links