file
Command in Linux
Summary
The file
command is a standard Unix program used to determine the type of a file. It tests each argument in an attempt to categorize it. These tests check the results of file system calls, the magic number, and according to language-specific tests.