%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-ch6-sbu;</seg> <seg>&file-ch6-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 Installation of File - 32-bit Clean previous build: make distclean Prepare File for compilation: CC="gcc -m32" ./configure \ --prefix=/usr \ --libdir=/usr/lib32 \ --host=i686-pc-linux-gnu Compile the package: make Install the package: make DESTDIR=$PWD/DESTDIR install cp -Rv DESTDIR/usr/lib32/* /usr/lib32 rm -rf DESTDIR Installation of File - x32-bit Clean previous build: make distclean Prepare File for compilation: CC="gcc -mx32" ./configure \ --prefix=/usr \ --libdir=/usr/libx32 \ --host=x86_64-pc-linux-gnux32 Compile the package: make Install the package: make DESTDIR=$PWD/DESTDIR install cp -Rv DESTDIR/usr/libx32/* /usr/libx32 rm -rf DESTDIR 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