3.5.8. filetype - detect file type

3.5.8.1. Usage

filetype [-vsl] FILE

3.5.8.2. Synopsis

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

3.5.8.3. Options

-v

verbose

-s VAR

set variable VAR to shortname

-l

list known filetypes