1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
4 | %general-entities;
|
---|
5 | ]>
|
---|
6 | <sect1 id="ch-system-file" role="wrap">
|
---|
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>
|
---|
11 |
|
---|
12 | <sect2 role="package"><title/>
|
---|
13 | <para>The File package contains a utility for determining the type of a given
|
---|
14 | file or files.</para>
|
---|
15 |
|
---|
16 | <segmentedlist>
|
---|
17 | <segtitle>&buildtime;</segtitle>
|
---|
18 | <segtitle>&diskspace;</segtitle>
|
---|
19 | <seglistitem><seg>0.1 SBU</seg><seg>6.2 MB</seg></seglistitem>
|
---|
20 | </segmentedlist>
|
---|
21 |
|
---|
22 | <segmentedlist>
|
---|
23 | <segtitle>&dependencies;</segtitle>
|
---|
24 | <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
|
---|
25 | GCC, Glibc, Grep, Make, Sed, and Zlib</seg></seglistitem>
|
---|
26 | </segmentedlist>
|
---|
27 | </sect2>
|
---|
28 |
|
---|
29 | <sect2 role="installation">
|
---|
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 |
|
---|
40 | <para>Install the package:</para>
|
---|
41 |
|
---|
42 | <screen><userinput>make install</userinput></screen>
|
---|
43 |
|
---|
44 | </sect2>
|
---|
45 |
|
---|
46 |
|
---|
47 | <sect2 id="contents-file" role="content"><title>Contents of File</title>
|
---|
48 |
|
---|
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"?>
|
---|
57 | <?dbhtml list-presentation="table"?>
|
---|
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>
|
---|
78 |
|
---|
79 | </sect2>
|
---|
80 |
|
---|
81 | </sect1>
|
---|
82 |
|
---|