определить тип файла (determine file type)
MAGIC DIRECTORY
The magic file entries have been collected from various sources,
mainly USENET, and contributed by various authors. Christos Zoulas
(address below) will collect additional or corrected magic file
entries. A consolidation of magic file entries will be distributed
periodically.
The order of entries in the magic file is significant. Depending
on what system you are using, the order that they are put together
may be incorrect. If your old file
command uses a magic file, keep
the old magic file around for comparison purposes (rename it to
/usr/local/share/misc/magic.orig).