From 695ae0bc31b390e1a544b0bd2f613ed514731168 Mon Sep 17 00:00:00 2001 From: Timothy Bauscher Date: Tue, 24 Sep 2002 04:52:43 +0000 Subject: Applied Bill's chapter 5 fixes patch. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2133 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- appendixa/findutils-desc.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'appendixa/findutils-desc.xml') diff --git a/appendixa/findutils-desc.xml b/appendixa/findutils-desc.xml index 6152a3ce7..c65d63def 100644 --- a/appendixa/findutils-desc.xml +++ b/appendixa/findutils-desc.xml @@ -28,26 +28,26 @@ using front-compression, which reduces the database size by a factor of 4 to 5. locate -locate scans a database which contain all files and directories on a +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. +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 system that are currently mounted +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 +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 file can be created -that contains all these files (one per line) and use xargs to perform that -command on the list. +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. -- cgit v1.2.3-54-g00ecf