.sh

What is a .sh file?

A script file for Unix/Linux/macOS shells (bash, zsh, etc.).

Use caution
Type Code
By Unix / GNU
MIME application/x-sh

Drop any file to identify it

We read file headers, not extensions. Nothing gets uploaded.

What is it

A script file for Unix/Linux/macOS shells (bash, zsh, etc.). Shell scripts automate command-line tasks — file operations, software installation, system administration, deployment pipelines.

Technical details
Full Name
Shell Script
MIME Type
application/x-sh
Developer
Unix / GNU
Magic Bytes
23 21
Safety
.sh requires caution. Shell scripts can execute any system command. Never run a .sh file from an untrusted source.
What opens it
Terminal (execute)
FREE macOS / Linux
Any text editor
FREE All
Related formats