| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 | <sect2><title>Contents of Findutils</title><para>Last checked against version &findutils-contversion;.</para><sect3><title>Program Files</title><para>bigram, code, find, frcode, locate, updatedb andxargs</para></sect3><sect3><title>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 matcha certain criteria. If no criteria is given, it lists all files in thecurrent directory and its subdirectories.</para></sect4><sect4><title>frcode</title><para>frcode is called by updatedb to compress the list of file namesusing front-compression, which reduces the database size by a factor of4 to 5.</para></sect4><sect4><title>locate</title><para>locate scans a database which contains all files and directories on afilesystem. This program lists the files and directories in thisdatabase matching a certain criteria. If a user is looking for a file thisprogram will scan the database and tell him exactly where the files herequested are located. This only makes sense if the locate database isfairly 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 entirefile system (including other file systems that are currently mountedunless it is told not to do so) and puts every directory and file it findsinto the database that's used by the locate program, which retrieves thisinformation. It's good practice to update this database once a day tohave 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 thatcommand on those files.</para></sect4></sect3></sect2>
 |