For installation instructions see the Section called Installing File-4.04 in Chapter 6.
(Last checked against version 3.39.)
File is a utility used to determine file types.
File installs the following:
file
(Last checked against version 3.39.)
file tests each specified 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.
(Last checked against version 3.37.)
Bash: sh
Binutils: as, ld
Coreutils: cat, chmod, echo, expr, hostname, install, ln, ls, mv, rm,
sleep, touch, tr
Diffutils: cmp
Gawk: gawk
GCC: cc1, collect2, cpp0, gcc
Grep: egrep, grep
M4: m4
Make: make
Sed: sed
Texinfo: makeinfo