The file command is used to identify a particular file according to the
type of data contained by the file. File can identify many different
file types, including ELF binaries, system libraries, RPM packages, and
different graphics formats.
You should install the file package, since the file command is such a
** README for file(1) Command **
@(#) $Id: README,v 1.33 2003/05/23 21:31:56 christos Exp $
This is Release 4.x of Ian Darwin's (copyright but distributable)
file(1) command. This version is the standard "file" command for Linux,
*BSD, and other systems. (See "patchlevel.h" for the exact release number).
The major feature of 4.x is the refactoring of the code into a library,
and the re-write of
MAGIC(3) BSD Library Functions Manual MAGIC(3)
magic_open, magic_close, magic_error, magic_file, magic_buffer,
magic_setflags, magic_check, magic_compile, magic_load — Magic
number recognition library.
Magic Number Recognition Library (libmagic, -lmagic)