Package Space Applications – file


The file command is “a file type guesser,” a command-line tool that tells you what kind of data a file contains. It doesn’t rely on filename extensions to tell you the type of a file, but looks at the file’s actual contents.


If you have not already done so, install the its-release package that grants access to ITS’s yum repository.

Then install as follows:

        % sudo yum install file-unc

Files are installed in /opt/unc.


1. The latest version available is file 5.31. Vendor release date:  May 23, 2017.

Useful Links


This package can be managed using the lpm command.

% lpm load file

will set the PATH, LD_LIBRARY_PATH, and MANPATH environment variables so that the file binary, libraries, and manpage can be accessed.