SH File Extension

Bash Shell Script
- File Type sh
- Popularity
- Application Sublime Text
- Category Developer Files
- Format Text
What is a SH file?
Files with the SH extension are specifically tied to Bash Shell Script, a Developer Files type, and there are 1166 files in this category.
SH file support extends to various operating systems, including Linux, Windows and Mac OS. To open a SH file, you can choose from 9 programs such as Unix, Atom and Sublime Text.
MIME types
- application/x-bsh
- text/x-script.sh
- application/x-sh
Programs that support SH files
How to open a SH file?
If you cannot open a SH file, it is most often due to missing software. Select a program from the list according to your operating system. Then go to the official website of the program developer, download it, and install it on your device.
Thanks to their popularity, Unix, Atom and Sublime Text are often the go-to programs for managing SH files. If you need the newest version of Sublime Text, just access the Sublime HQ Pty website. From there you can download the installer compatible with all systems.
Once Sublime Text is installed, the OS should configure it as the default tool for opening SH files.
Make Sublime Text the default SH viewer
Change the default app to open files on Mac
- Right click or use Control + Left Click on the desired SH file to access a dropdown menu of actions;
- Choose "Open in Application" and click "Other";
- Towards the bottom of the window, find the "Enable" menu, which is already set to the default option, "Recommended Programs";
- In this menu, select "All Programs" and search for Sublime Text. Check the box next to "Always open in app" to make it the default option.
Change a default app in Windows
- Start by right-clicking on your SH file, then select the "Open with" option and choose "Choose another app" from the menu that appears;
- Inside the popup window, scroll through the list of applications and specifically choose Sublime Text as the application to associate with your SH file;
- Check the "Always use this app" checkbox and click "OK".
Finding answers to SH file problems
If SH files are giving you trouble, small modifications to your software can help. Check out the troubleshooting tips below to fix these issues.
What can lead to sudden Sublime Text crashes?
Insufficient updates for Sublime HQ Pty products can cause Sublime Text to crash. Be sure to regularly install the latest software updates.
A computer restart is often the key to solving numerous common problems. That’s why, it is recommended to restart the computer before making any changes to the software settings.
What is the recommended approach to repair a damaged SH file?
Use a recovery program to open the damaged SH file, and in the menu, click "Repair" to start the repair operation. Wait for the recovery process to finish as it will automatically restore the damaged developer files.
What are the ways to check if my SH file is damaged?
Characteristics of corrupted SH developer files can include:
- The file encounters problems during the opening process or shows error indications;
- Editing the archive in Sublime Text is hampered by poor overall performance;
- The file causes Sublime Text or other software to hang or crash during various operations;
- An unexplained increase in the size of the SH file;
- Actions performed on the file result in the appearance of error notifications;
How to edit a SH file?
To modify SH files, you need to install special software that makes it possible to open and edit developer files. Online SH editors are more restricted compared to software designed for Bash Shell Script.
Best SH editors 2026
According to these factors, we have compiled a list of available SH editors.
| SH Editor Software | Developer | Platforms | Overall Rating |
|---|---|---|---|
| PSPad | Jan Fiala | Windows | 4.7 out of 5 (41 review) |
| Notepad++ | Notepad++ Team | Windows | 4.6 out of 5 (37 reviews) |
| Sublime Text | Sublime HQ Pty | Windows, Mac OS, Linux | 4.6 out of 5 (39 reviews) |
| Adobe ExtendScript | Adobe | Windows | 4.2 out of 5 (35 reviews) |
| Atom | - | Windows, Mac OS, Linux | 4.1 out of 5 (36 reviews) |












