Classify the named files according to the type of data they contain. file checks the magic file (usually /usr/share/magic) to identify some file types. If the file type cannot be determined, it is shown as “data.” file does its best to identify the file type, but it is sometimes incorrect. See also the strings command to search for printable strings in nontext files.
Brief mode; do not prepend filenames to output lines.
Check the format of the magic file (the files argument is invalid with -c). Usually used with -m.
Read the names of files to be checked from file.
Do not follow symbolic links. The default unless the environment variable POSIXLY_CORRECT is defined.
Print help message and exit.
Print mime strings rather than the traditional strings.
Follow symbolic links. By default, symbolic links are not followed.
Search for file types in file instead of /usr/share/magic, where file can be either a single file or a colon-separated list of files.
Like -i, but print only the mime type or the mime encoding.
Flush standard output after checking a file.
Do not pad filenames to align in the output.
Check files that are block or character special files in addition to checking ordinary files.
Print the version.