.shar Shell archive

Archives & packages

MIME typeapplication/x-shar
DescriptionShell archive
CategoryArchives & packages

Frequently asked questions

What is a .shar file?

A .shar file is a “Shell archive” (MIME type application/x-shar).

How do I open a .shar file?

With an archive tool such as 7-Zip (Windows) or the built-in archive manager on macOS or Linux. On the command line, use tar, unzip or 7z depending on the format.

How can you tell a genuine .shar 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.shar shows the guessed type.

Which MIME type belongs to .shar?

The MIME type is application/x-shar. In the Apache web server: AddType application/x-shar .shar; in nginx: types { application/x-shar shar; }.

Nearby entries