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