%general-entities; ]> file &file-version;
&file-url;
File-&file-version; File <para>The File package contains a utility for determining the type of a given file or files.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&file-fin-sbu;</seg> <seg>&file-fin-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of File Prepare File for compilation: ./configure --prefix=/usr Compile the package: make To test the results, issue: make check Install the package: make install /bin/more from util-linux will link to libmagic.so, so the shared library should be moved to /lib, and as a result the .so file in /usr/lib will need to be recreated: mv -v /usr/lib/libmagic.so.* /lib ln -sfv ../../lib/$(readlink /usr/lib/libmagic.so) /usr/lib/libmagic.so Contents of File Installed programs Installed library file libmagic.so Short Descriptions file Tries to classify each given file; it does this by performing several tests—file system tests, magic number tests, and language tests file libmagic Contains routines for magic number recognition, used by the file program libmagic