Short descriptions
file tries to classify each given file. It does
this by performing several tests: file system tests, magic number tests, and
language tests. The first test that succeeds determines the result.
libmagic contains routines for magic number
recognition, used by the file program.