Application Name: file

Current version: 4.16

Last modified on Mar 23 11:32

file - A utility for determining file types The file utility performs a series of tests on each supplied file in an attempt to classify it. There are three sets of tests, performed in this order: filesystem tests, magic number tests, and language tests. The first test that succeeds causes the file type to be printed.

Man pages:
file
libmagic

Docs and manuals: