findutils-desc.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <sect2><title>Contents of Findutils</title>
  2. <para>Last checked against version &findutils-contversion;.</para>
  3. <sect3><title>Program Files</title>
  4. <para>bigram, code, find, frcode, locate, updatedb and
  5. xargs</para></sect3>
  6. <sect3><title>Descriptions</title>
  7. <sect4><title>bigram</title>
  8. <para>bigram is used together with code to produce older-style locate
  9. databases. To learn more about these last three programs, read the locatedb.5
  10. manual page.</para></sect4>
  11. <sect4><title>code</title>
  12. <para>code is the ancestor of frcode. It was used in older-style locate
  13. databases.</para></sect4>
  14. <sect4><title>find</title>
  15. <para>The find program searches for files in a directory hierarchy which match
  16. a certain criteria. If no criteria is given, it lists all files in the
  17. current directory and its subdirectories.</para></sect4>
  18. <sect4><title>frcode</title>
  19. <para>frcode is called by updatedb to compress the list of file names
  20. using front-compression, which reduces the database size by a factor of
  21. 4 to 5.</para></sect4>
  22. <sect4><title>locate</title>
  23. <para>locate scans a database which contains all files and directories on a
  24. filesystem. This program lists the files and directories in this
  25. database matching a certain criteria. If a user is looking for a file this
  26. program will scan the database and tell him exactly where the files he
  27. requested are located. This only makes sense if the locate database is
  28. fairly up-to-date, else it will provide out-of-date information.</para></sect4>
  29. <sect4><title>updatedb</title>
  30. <para>The updatedb program updates the locate database. It scans the entire
  31. file system (including other file systems that are currently mounted
  32. unless it is told not to do so) and puts every directory and file it finds
  33. into the database that's used by the locate program, which retrieves this
  34. information. It's good practice to update this database once a day to
  35. have it up-to-date whenever it is needed.</para></sect4>
  36. <sect4><title>xargs</title>
  37. <para>The xargs command applies a command to a list of files. If there is
  38. a need to perform the same command on multiple files, a list can be created
  39. that names all those files (one per line) and xargs can perform that
  40. command on those files.</para></sect4>
  41. </sect3>
  42. </sect2>