3.5.9. filetype - detect file type

3.5.9.1. Usage

filetype [-vsl] FILE

3.5.9.2. Synopsis

Detect type of a file and export result to a variable.

3.5.9.3. Options

-v verbose
-s VAR set variable VAR to shortname
-l list known filetypes