From 978d0bffc413b67ead9db2d2816b916cf3d502ca Mon Sep 17 00:00:00 2001 From: Alex Gronenwoud Date: Wed, 24 Sep 2003 22:29:16 +0000 Subject: 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 --- appendixa/findutils-desc.xml | 62 ++++++++++++++++---------------------------- 1 file changed, 22 insertions(+), 40 deletions(-) (limited to 'appendixa/findutils-desc.xml') 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 @@ Program file descriptions -bigram -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. - -code -code is the ancestor of frcode. It was used in older-style locate -databases. - -find -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. - -frcode -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. - -locate -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. - -updatedb -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. - -xargs -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. +bigram was formerly used to produce locate +databases. + +code was formerly used to produce locate +databases. It is is the ancestor of frcode. + +find searches given directory trees for files +matching the specified criteria. + +frcode 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. + +locate searches through a database of file names, +and reports the names that contain a given string or match a given pattern. + +updatedb 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. + +xargs can be used to apply a given command to +a list of files. -- cgit v1.2.3-54-g00ecf