file

determine file / MIME type Usage: file [OPTION] [FILE]...

Options

OptionDescription
-b, --briefDo not prepend filenames to output lines (brief mode)
-i, --mimeCauses the file command to output mime type strings rather than the more traditional human readable ones. Thus it may say ‘text/plain; charset=us-ascii’ rather than “ASCII text”