[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[1770019] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[673b0d8] | 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 | ]>
|
---|
[81fd230] | 6 | <sect1 id="ch-system-file" role="wrap">
|
---|
[673b0d8] | 7 | <title>File-&file-version;</title>
|
---|
| 8 | <?dbhtml filename="file.html"?>
|
---|
| 9 |
|
---|
| 10 | <indexterm zone="ch-system-file"><primary sortas="a-File">File</primary></indexterm>
|
---|
[6370fa6] | 11 |
|
---|
[a001133] | 12 | <sect2 role="package"><title/>
|
---|
[81fd230] | 13 | <para>The File package contains a utility for determining the type of files.</para>
|
---|
[5888299] | 14 |
|
---|
[a001133] | 15 | <segmentedlist>
|
---|
| 16 | <segtitle>&buildtime;</segtitle>
|
---|
| 17 | <segtitle>&diskspace;</segtitle>
|
---|
[fc1024a] | 18 | <seglistitem><seg>0.1 SBU</seg><seg>6.2 MB</seg></seglistitem>
|
---|
[a001133] | 19 | </segmentedlist>
|
---|
[673b0d8] | 20 |
|
---|
[81fd230] | 21 | <segmentedlist>
|
---|
[45992ae] | 22 | <segtitle>&dependencies;</segtitle>
|
---|
[81fd230] | 23 | <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
|
---|
| 24 | GCC, Glibc, Grep, Make, Sed, and Zlib</seg></seglistitem>
|
---|
| 25 | </segmentedlist>
|
---|
[a001133] | 26 | </sect2>
|
---|
[3554fa3a] | 27 |
|
---|
[a001133] | 28 | <sect2 role="installation">
|
---|
[73aedd1d] | 29 | <title>Installation of File</title>
|
---|
| 30 |
|
---|
| 31 | <para>Prepare File for compilation:</para>
|
---|
| 32 |
|
---|
| 33 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
| 34 |
|
---|
| 35 | <para>Compile the package:</para>
|
---|
| 36 |
|
---|
| 37 | <screen><userinput>make</userinput></screen>
|
---|
| 38 |
|
---|
[81fd230] | 39 | <para>Install the package:</para>
|
---|
[73aedd1d] | 40 |
|
---|
| 41 | <screen><userinput>make install</userinput></screen>
|
---|
| 42 |
|
---|
| 43 | </sect2>
|
---|
[6370fa6] | 44 |
|
---|
[5888299] | 45 |
|
---|
[c6cb3aa] | 46 | <sect2 id="contents-file" role="content"><title>Contents of File</title>
|
---|
[673b0d8] | 47 |
|
---|
[81fd230] | 48 | <segmentedlist>
|
---|
| 49 | <segtitle>Installed programs</segtitle>
|
---|
| 50 | <segtitle>Installed library</segtitle>
|
---|
| 51 | <seglistitem><seg>file</seg><seg>libmagic.[a,so]</seg></seglistitem>
|
---|
| 52 | </segmentedlist>
|
---|
| 53 |
|
---|
| 54 | <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 55 | <?dbfo list-presentation="list"?>
|
---|
[8f97096] | 56 | <?dbhtml list-presentation="table"?>
|
---|
[81fd230] | 57 |
|
---|
| 58 | <varlistentry id="file">
|
---|
| 59 | <term><command>file</command></term>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Tries to classify each given file; it does this by performing
|
---|
| 62 | several tests—file system tests, magic number tests, and language
|
---|
| 63 | tests</para>
|
---|
| 64 | <indexterm zone="ch-system-file file"><primary sortas="b-file">file</primary></indexterm>
|
---|
| 65 | </listitem>
|
---|
| 66 | </varlistentry>
|
---|
| 67 |
|
---|
| 68 | <varlistentry id="libmagic">
|
---|
| 69 | <term><filename class="libraryfile">libmagic</filename></term>
|
---|
| 70 | <listitem>
|
---|
| 71 | <para>Contains routines for magic number recognition, used by the
|
---|
| 72 | <command>file</command> program</para>
|
---|
| 73 | <indexterm zone="ch-system-file libmagic"><primary sortas="c-libmagic">libmagic</primary></indexterm>
|
---|
| 74 | </listitem>
|
---|
| 75 | </varlistentry>
|
---|
| 76 | </variablelist>
|
---|
[673b0d8] | 77 |
|
---|
| 78 | </sect2>
|
---|
| 79 |
|
---|
| 80 | </sect1>
|
---|
[81fd230] | 81 |
|
---|