Package file

A utility for determining file types

http://www.darwinsys.com/file/

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.

General Commands
Command Description
file determine file type