fileutils-desc.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <sect2>
  2. <title>Contents</title>
  3. <para>The Fileutils package contains the chgrp, chmod, chown, cp, dd, df, dir,
  4. dircolors, du, install, ln, ls, mkdir, mkfifo, mknod, mv, rm, rmdir,
  5. sync, touch and vdir programs.</para>
  6. </sect2>
  7. <sect2><title>Description</title>
  8. <sect3><title>chgrp</title>
  9. <para>chgrp changes the group ownership of each given file to the named group,
  10. which can be either a group name or a numeric group ID.</para></sect3>
  11. <sect3><title>chmod</title>
  12. <para>chmod changes the permissions of each given file according to mode, which
  13. can be either a symbolic representation of changes to make, or an octal
  14. number representing the bit pattern for the new permissions.</para></sect3>
  15. <sect3><title>chown</title>
  16. <para>chown changes the user and/or group ownership of each
  17. given file.</para></sect3>
  18. <sect3><title>cp</title>
  19. <para>cp copies files from one place to another.</para></sect3>
  20. <sect3><title>dd</title>
  21. <para>dd copies a file (from the standard input to the standard output, by
  22. default) with a user-selectable blocksize, while optionally performing
  23. conversions on it.</para></sect3>
  24. <sect3><title>df</title>
  25. <para>df displays the amount of disk space available on the filesystem
  26. containing each file name argument. If no file name is given, the space
  27. available on all currently mounted filesystems is shown.</para></sect3>
  28. <sect3><title>dir, ls and vdir</title>
  29. <para>dir and vdir are versions of ls with different default output formats.
  30. These programs list each given file or directory name. Directory contents
  31. are sorted alphabetically. For ls, files are by default listed in columns,
  32. sorted vertically, if the standard output is a terminal; otherwise they
  33. are listed one per line. For dir, files are by default listed in columns,
  34. sorted vertically. For vdir, files are by default listed in
  35. long format.</para></sect3>
  36. <sect3><title>dircolors</title>
  37. <para>dircolors outputs commands to set the LS_COLOR environment variable.
  38. The LS_COLOR variable is use to change the default color scheme used by
  39. ls and related utilities.</para></sect3>
  40. <sect3><title>du</title>
  41. <para>du displays the amount of disk space used by each argument and for each
  42. subdirectory of directory arguments.</para></sect3>
  43. <sect3><title>install</title>
  44. <para>install copies files and sets their permission modes and, if possible,
  45. their owner and group.</para></sect3>
  46. <sect3><title>ln</title>
  47. <para>ln makes hard or soft (symbolic) links between files.</para></sect3>
  48. <sect3><title>mkdir</title>
  49. <para>mkdir creates directories with a given name.</para></sect3>
  50. <sect3><title>mkfifo</title>
  51. <para>mkfifo creates a FIFO with each given name.</para></sect3>
  52. <sect3><title>mknod</title>
  53. <para>mknod creates a FIFO, character special file, or block special file
  54. with the given file name.</para></sect3>
  55. <sect3><title>mv</title>
  56. <para>mv moves files from one directory to another or renames files, depending
  57. on the arguments given to mv.</para></sect3>
  58. <sect3><title>rm</title>
  59. <para>rm removes files or directories.</para></sect3>
  60. <sect3><title>rmdir</title>
  61. <para>rmdir removes directories, if they are empty.</para></sect3>
  62. <sect3><title>shred</title>
  63. <para>shred deletes a file securely, overwriting it first so that its
  64. contents can't be recovered.</para></sect3>
  65. <sect3><title>sync</title>
  66. <para>sync forces changed blocks to disk and updates the
  67. super block.</para></sect3>
  68. <sect3><title>touch</title>
  69. <para>touch changes the access and modification times of each given file to the
  70. current time. Files that do not exist are created empty.</para></sect3>
  71. </sect2>