.gsh Groovy source code
Text & source code
| MIME type | text/x-groovy |
|---|---|
| Description | Groovy source code |
| Category | Text & source code |
| Based on | text/x-csrc |
| Other extensions | .groovy, .gvy, .gy |
Frequently asked questions
What is a .gsh file?
A .gsh file is a “Groovy source code” (MIME type text/x-groovy).
How do I open a .gsh file?
With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.
How can you tell a genuine .gsh file?
No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.gsh shows the guessed type.
Which format is .gsh based on?
Technically a .gsh file is a subtype of “C source code” (text/x-csrc), so programs for that base format can often read it too.
Which MIME type belongs to .gsh?
The MIME type is text/x-groovy. In the Apache web server: AddType text/x-groovy .gsh; in nginx: types { text/x-groovy gsh; }.