source: BOOK/final-system/multilib/findutils.xml @ 9682e4d

clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 9682e4d was 686839b, checked in by William Harrington <kb0iic@…>, 10 years ago

Add screen tags around userinput test commands and remap userinput for test commands as remap="test".

  • Property mode set to 100644
File size: 6.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4  <!ENTITY % general-entities SYSTEM "../../general.ent">
5  %general-entities;
6]>
7
8<sect1 id="ch-system-findutils" role="wrap">
9  <?dbhtml filename="findutils.html"?>
10
11  <title>Findutils-&findutils-version;</title>
12
13  <indexterm zone="ch-system-findutils">
14    <primary sortas="a-Findutils">Findutils</primary>
15  </indexterm>
16
17  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
18  href="../common/findutils.xml"
19  xpointer="xpointer(//*[@role='package'])"/>
20
21  <sect2 role="installation">
22    <title>Installation of Findutils</title>
23
24    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
25    href="../common/findutils.xml"
26    xpointer="xpointer(//*[@os='a'])"/>
27
28<screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \
29    --libexecdir=/usr/lib64/locate --localstatedir=/var/lib64/locate</userinput></screen>
30
31    <variablelist os="c">
32      <title>The meaning of the configure options:</title>
33
34      <varlistentry>
35        <term><parameter>--localstatedir</parameter></term>
36        <listitem>
37          <para>This option changes the location of the <command>locate</command>
38          database to be in <filename class="directory">/var/lib64/locate</filename>,
39          which is FHS-compliant.</para>
40        </listitem>
41      </varlistentry>
42
43    </variablelist>
44
45    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
46    href="../common/findutils.xml"
47    xpointer="xpointer(//*[@os='d'])"/>
48
49    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
50    href="../common/findutils.xml"
51    xpointer="xpointer(//*[@os='e'])"/>
52
53    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
54    href="../common/findutils.xml"
55    xpointer="xpointer(//*[@os='f'])"/>
56
57    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
58    href="../common/findutils.xml"
59    xpointer="xpointer(//*[@os='f2'])"/>
60
61    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
62    href="../common/findutils.xml"
63    xpointer="xpointer(//*[@os='g'])"/>
64
65    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
66    href="../common/findutils.xml"
67    xpointer="xpointer(//*[@os='h'])"/>
68
69    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
70    href="../common/findutils.xml"
71    xpointer="xpointer(//*[@os='i'])"/>
72
73    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
74    href="../common/findutils.xml"
75    xpointer="xpointer(//*[@os='j'])"/>
76
77    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
78    href="../common/findutils.xml"
79    xpointer="xpointer(//*[@os='k'])"/>
80
81    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
82    href="../common/findutils.xml"
83    xpointer="xpointer(//*[@os='l'])"/>
84
85  </sect2>
86
87  <sect2 id="contents-findutils" role="content">
88    <title>Contents of Findutils</title>
89
90    <segmentedlist>
91      <segtitle>Installed programs</segtitle>
92
93      <seglistitem>
94        <seg>bigram, code, find, frcode, locate, updatedb, and xargs</seg>
95      </seglistitem>
96    </segmentedlist>
97
98    <variablelist>
99      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
100      <?dbfo list-presentation="list"?>
101      <?dbhtml list-presentation="table"?>
102
103      <varlistentry id="bigram">
104        <term><command>bigram</command></term>
105        <listitem>
106          <para>Was formerly used to produce <command>locate</command>
107          databases</para>
108          <indexterm zone="ch-system-findutils bigram">
109            <primary sortas="b-bigram">bigram</primary>
110          </indexterm>
111        </listitem>
112      </varlistentry>
113
114      <varlistentry id="code">
115        <term><command>code</command></term>
116        <listitem>
117          <para>Was formerly used to produce <command>locate</command>
118          databases; it is the ancestor of <command>frcode</command>.</para>
119          <indexterm zone="ch-system-findutils code">
120            <primary sortas="b-code">code</primary>
121          </indexterm>
122        </listitem>
123      </varlistentry>
124
125      <varlistentry id="find">
126        <term><command>find</command></term>
127        <listitem>
128          <para>Searches given directory trees for files matching the specified
129          criteria</para>
130          <indexterm zone="ch-system-findutils find">
131            <primary sortas="b-find">find</primary>
132          </indexterm>
133        </listitem>
134      </varlistentry>
135
136      <varlistentry id="frcode">
137        <term><command>frcode</command></term>
138        <listitem>
139          <para>Is called by <command>updatedb</command> to compress the list
140          of file names; it uses front-compression, reducing the database size
141          by a factor of four to five.</para>
142          <indexterm zone="ch-system-findutils frcode">
143            <primary sortas="b-frcode">frcode</primary>
144          </indexterm>
145        </listitem>
146      </varlistentry>
147
148      <varlistentry id="locate">
149        <term><command>locate</command></term>
150        <listitem>
151          <para>Searches through a database of file names and reports the names
152          that contain a given string or match a given pattern</para>
153          <indexterm zone="ch-system-findutils locate">
154            <primary sortas="b-locate">locate</primary>
155          </indexterm>
156        </listitem>
157      </varlistentry>
158
159      <varlistentry id="updatedb">
160        <term><command>updatedb</command></term>
161        <listitem>
162          <para>Updates the <command>locate</command> database; it scans the
163          entire file system (including other file systems that are currently
164          mounted, unless told not to) and puts every file name it finds into
165          the database</para>
166          <indexterm zone="ch-system-findutils updatedb">
167            <primary sortas="b-updatedb">updatedb</primary>
168          </indexterm>
169        </listitem>
170      </varlistentry>
171
172      <varlistentry id="xargs">
173        <term><command>xargs</command></term>
174        <listitem>
175          <para>Can be used to apply a given command to a list of files</para>
176          <indexterm zone="ch-system-findutils xargs">
177            <primary sortas="b-xargs">xargs</primary>
178          </indexterm>
179        </listitem>
180      </varlistentry>
181
182    </variablelist>
183
184  </sect2>
185
186</sect1>
Note: See TracBrowser for help on using the repository browser.