diff options
author | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-09-24 22:29:16 +0000 |
---|---|---|
committer | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-09-24 22:29:16 +0000 |
commit | 978d0bffc413b67ead9db2d2816b916cf3d502ca (patch) | |
tree | 785d8d08754099e55a26599f8d5ccce81b456cb4 /appendixa/findutils-desc.xml | |
parent | aa497295b352d45ebe2e9d1eaa4a46c49e2cf521 (diff) |
Changing the style of the command descriptions in appendix A.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2879 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'appendixa/findutils-desc.xml')
-rw-r--r-- | appendixa/findutils-desc.xml | 62 |
1 files changed, 22 insertions, 40 deletions
diff --git a/appendixa/findutils-desc.xml b/appendixa/findutils-desc.xml index fd705119d..879505a1d 100644 --- a/appendixa/findutils-desc.xml +++ b/appendixa/findutils-desc.xml @@ -6,46 +6,28 @@ <sect3><title>Program file descriptions</title> -<sect4><title>bigram</title> -<para>bigram is used together with code to produce older-style locate -databases. To learn more about these last three programs, read the locatedb.5 -manual page.</para></sect4> - -<sect4><title>code</title> -<para>code is the ancestor of frcode. It was used in older-style locate -databases.</para></sect4> - -<sect4><title>find</title> -<para>The find program searches for files in a directory hierarchy which match -a certain criteria. If no criteria is given, it lists all files in the -current directory and its subdirectories.</para></sect4> - -<sect4><title>frcode</title> -<para>frcode is called by updatedb to compress the list of file names -using front-compression, which reduces the database size by a factor of -4 to 5.</para></sect4> - -<sect4><title>locate</title> -<para>locate scans a database which contains all files and directories on a -filesystem. This program lists the files and directories in this -database matching a certain criteria. If a user is looking for a file this -program will scan the database and tell him exactly where the files he -requested are located. This only makes sense if the locate database is -fairly up-to-date, else it will provide out-of-date information.</para></sect4> - -<sect4><title>updatedb</title> -<para>The updatedb program updates the locate database. It scans the entire -file system (including other file systems that are currently mounted -unless it is told not to do so) and puts every directory and file it finds -into the database that's used by the locate program, which retrieves this -information. It's good practice to update this database once a day to -have it up-to-date whenever it is needed.</para></sect4> - -<sect4><title>xargs</title> -<para>The xargs command applies a command to a list of files. If there is -a need to perform the same command on multiple files, a list can be created -that names all those files (one per line) and xargs can perform that -command on those files.</para></sect4> +<para><command>bigram</command> was formerly used to produce locate +databases.</para> + +<para><command>code</command> was formerly used to produce locate +databases. It is is the ancestor of frcode.</para> + +<para><command>find</command> searches given directory trees for files +matching the specified criteria.</para> + +<para><command>frcode</command> is called by updatedb to compress the +list of file names. It uses front-compression, reducing the database size by a +factor of 4 to 5.</para> + +<para><command>locate</command> searches through a database of file names, +and reports the names that contain a given string or match a given pattern.</para> + +<para><command>updatedb</command> updates the locate database. It scans +the entire filesystem (including other filesystems that are currently mounted, +unless told not to) and puts every file name it finds in the database.</para> + +<para><command>xargs</command> can be used to apply a given command to +a list of files.</para> </sect3> |