определить тип файла (determine file type)
Использование в приложениях (Application usage)
The file utility can only be required to guess at many of the
file types because only exhaustive testing can determine some
types with certainty. For example, binary data on some
implementations might match the initial segment of an executable
or a tar archive.
Note that the table indicates that the output contains the stated
string. Systems may add text before or after the string. For
executables, as an example, the machine architecture and various
facts about how the file was link-edited may be included. Note
also that on systems that recognize shell script files starting
with "#!"
as executable files, these may be identified as
executable binary files rather than as shell scripts.