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