coreutils-desc.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2><title>Descriptions</title>
  3. <para>Not yet fully checked.</para>
  4. <sect3><title>Program file descriptions</title>
  5. <sect4><title>basename</title>
  6. <para>basename strips directory and suffixes from filenames.</para></sect4>
  7. <sect4><title>cat</title>
  8. <para>cat concatenates file(s) or standard input to
  9. standard output.</para></sect4>
  10. <sect4><title>chgrp</title>
  11. <para>chgrp changes the group ownership of each given file to the named group,
  12. which can be either a group name or a numeric group ID.</para></sect4>
  13. <sect4><title>chmod</title>
  14. <para>chmod changes the permissions of each given file according to mode, which
  15. can be either a symbolic representation of changes to make or an octal
  16. number representing the bit pattern for the new permissions.</para></sect4>
  17. <sect4><title>chown</title>
  18. <para>chown changes the user and/or group ownership of each
  19. given file.</para></sect4>
  20. <sect4><title>chroot</title>
  21. <para>chroot runs a command or interactive shell with special
  22. root directory.</para></sect4>
  23. <sect4><title>cksum</title>
  24. <para>cksum prints CRC checksum and byte counts of each specified
  25. file.</para></sect4>
  26. <sect4><title>comm</title>
  27. <para>comm compares two sorted files line by line.</para></sect4>
  28. <sect4><title>cp</title>
  29. <para>cp copies files from one place to another.</para></sect4>
  30. <sect4><title>csplit</title>
  31. <para>csplit outputs pieces of a file separated by (a) pattern(s) to files
  32. xx01, xx02, ..., and outputs byte counts of each piece to standard
  33. output.</para></sect4>
  34. <sect4><title>cut</title>
  35. <para>cut prints selected parts of lines from specified files to standard
  36. output.</para></sect4>
  37. <sect4><title>date</title>
  38. <para>date displays the current time in a specified format, or sets
  39. the system date.</para></sect4>
  40. <sect4><title>dd</title>
  41. <para>dd copies a file (from the standard input to the standard output, by
  42. default) with a user-selectable blocksize, while optionally performing
  43. conversions on it.</para></sect4>
  44. <sect4><title>df</title>
  45. <para>df displays the amount of disk space available on the filesystem
  46. containing each file name argument. If no file name is given, the space
  47. available on all currently mounted filesystems is shown.</para></sect4>
  48. <sect4><title>dir, ls and vdir</title>
  49. <para>dir and vdir are versions of ls with different default output formats.
  50. These programs list each given file or directory name. Directory contents
  51. are sorted alphabetically. For ls, files are, by default, listed in columns
  52. sorted vertically if the standard output is a terminal; otherwise they
  53. are listed one per line. For dir, files are, by default, listed in columns
  54. sorted vertically. For vdir, files are, by default, listed in
  55. long format.</para></sect4>
  56. <sect4><title>dircolors</title>
  57. <para>dircolors outputs commands to set the LS_COLOR environment variable.
  58. The LS_COLOR variable is use to change the default color scheme used by
  59. ls and related utilities.</para></sect4>
  60. <sect4><title>dirname</title>
  61. <para>dirname strips non-directory suffixes from file name.</para></sect4>
  62. <sect4><title>du</title>
  63. <para>du displays the amount of disk space used by each file or directory
  64. listed on the command-line and by each of their subdirectories.</para></sect4>
  65. <sect4><title>echo</title>
  66. <para>echo displays a line of text.</para></sect4>
  67. <sect4><title>env</title>
  68. <para>env runs a program in a modified environment.</para></sect4>
  69. <sect4><title>expand</title>
  70. <para>expand converts tabs in files to spaces, writing to standard
  71. output.</para></sect4>
  72. <sect4><title>expr</title>
  73. <para>expr evaluates expressions.</para></sect4>
  74. <sect4><title>factor</title>
  75. <para>factor prints the prime factors of all specified
  76. integer numbers.</para></sect4>
  77. <sect4><title>false</title>
  78. <para>false always exits with a status code indicating failure.</para></sect4>
  79. <sect4><title>fmt</title>
  80. <para>fmt reformats each paragraph in the specified file(s), writing to
  81. standard output.</para></sect4>
  82. <sect4><title>fold</title>
  83. <para>fold wraps input lines in each specified file (standard input by default),
  84. writing to standard output.</para></sect4>
  85. <sect4><title>groups</title>
  86. <para>groups prints a user's group memberships.</para></sect4>
  87. <sect4><title>head</title>
  88. <para>head prints the first xx (10 by default) lines of each specified file to
  89. standard output.</para></sect4>
  90. <sect4><title>hostid</title>
  91. <para>hostid prints the numeric identifier (in hexadecimal) for the current
  92. host.</para></sect4>
  93. <sect4><title>id</title>
  94. <para>id prints the effective user and group IDs of the current
  95. user or a given user.</para></sect4>
  96. <sect4><title>install</title>
  97. <para>install copies files and sets their permission modes and, if possible,
  98. their owner and group.</para></sect4>
  99. <sect4><title>join</title>
  100. <para>join joins lines of two files on a common field.</para></sect4>
  101. <sect4><title>ln</title>
  102. <para>ln makes hard or soft (symbolic) links between files.</para></sect4>
  103. <sect4><title>logname</title>
  104. <para>logname prints the current user's login name.</para></sect4>
  105. <sect4><title>md5sum</title>
  106. <para>md5sum prints or checks MD5 checksums.</para></sect4>
  107. <sect4><title>mkdir</title>
  108. <para>mkdir creates directories with a given name.</para></sect4>
  109. <sect4><title>mkfifo</title>
  110. <para>mkfifo creates a FIFO with each given name.</para></sect4>
  111. <sect4><title>mknod</title>
  112. <para>mknod creates a FIFO, character special file or block special file
  113. with the given file name.</para></sect4>
  114. <sect4><title>mv</title>
  115. <para>mv moves files from one directory to another or renames files, depending
  116. on the arguments given to mv.</para></sect4>
  117. <sect4><title>nice</title>
  118. <para>nice runs a program with modified scheduling priority.</para></sect4>
  119. <sect4><title>nl</title>
  120. <para>nl writes each specified file to standard output, with line numbers
  121. added.</para></sect4>
  122. <sect4><title>nohup</title>
  123. <para>nohup runs a command immune to hangups, with output to a
  124. log file.</para></sect4>
  125. <sect4><title>od</title>
  126. <para>od writes an unambiguous representation, octal bytes by default, of a
  127. specified file to standard output.</para></sect4>
  128. <sect4><title>paste</title>
  129. <para>paste writes lines consisting of the sequentially corresponding
  130. lines from each specified file, separated by TABs,
  131. to standard output.</para></sect4>
  132. <sect4><title>pathchk</title>
  133. <para>pathchk checks whether file names are valid or portable.</para></sect4>
  134. <sect4><title>pinky</title>
  135. <para>pinky is a lightweight finger utility which retrieves information about
  136. a certain user.</para></sect4>
  137. <sect4><title>pr</title>
  138. <para>pr paginates or columnates files for printing.</para></sect4>
  139. <sect4><title>printenv</title>
  140. <para>printenv prints all or part of the environment.</para></sect4>
  141. <sect4><title>printf</title>
  142. <para>printf formats and prints data (the same as the C printf
  143. function).</para></sect4>
  144. <sect4><title>ptx</title>
  145. <para>ptx produces a permuted index of file contents.</para></sect4>
  146. <sect4><title>pwd</title>
  147. <para>pwd prints the name of the current/working directory.</para></sect4>
  148. <sect4><title>rm</title>
  149. <para>rm removes files or directories.</para></sect4>
  150. <sect4><title>rmdir</title>
  151. <para>rmdir removes directories, if they are empty.</para></sect4>
  152. <sect4><title>seq</title>
  153. <para>seq prints numbers in a certain range with a certain
  154. increment.</para></sect4>
  155. <sect4><title>shred</title>
  156. <para>shred deletes a file securely, overwriting it first so that its
  157. contents can't be recovered.</para></sect4>
  158. <sect4><title>sleep</title>
  159. <para>sleep delays for a specified amount of time.</para></sect4>
  160. <sect4><title>sort</title>
  161. <para>sort writes sorted concatenation of files to standard
  162. output.</para></sect4>
  163. <sect4><title>split</title>
  164. <para>split outputs fixed-size pieces of an input file to
  165. PREFIXaa, PREFIXab, ...</para></sect4>
  166. <sect4><title>stty</title>
  167. <para>stty changes and prints terminal line settings.</para></sect4>
  168. <sect4><title>su</title>
  169. <para>su runs a shell with substitute user and group IDs.</para></sect4>
  170. <sect4><title>sum</title>
  171. <para>sum prints checksum and block counts for each specified
  172. file.</para></sect4>
  173. <sect4><title>sync</title>
  174. <para>sync forces changed blocks to disk and updates the
  175. super block.</para></sect4>
  176. <sect4><title>tac</title>
  177. <para>tac writes each specified file to standard output, last line
  178. first.</para></sect4>
  179. <sect4><title>tail</title>
  180. <para>tail print the last xx (10 by default) lines of each specified file to
  181. standard output.</para></sect4>
  182. <sect4><title>tee</title>
  183. <para>tee reads from standard input and writes to standard output and
  184. files.</para></sect4>
  185. <sect4><title>test</title>
  186. <para>test checks file types and compares values.</para></sect4>
  187. <sect4><title>touch</title>
  188. <para>touch changes the access and modification times of each given file to the
  189. current time. Files that do not exist are created empty.</para></sect4>
  190. <sect4><title>tr</title>
  191. <para>tr translates, squeezes, and/or deletes characters from standard
  192. input, writing to standard output.</para></sect4>
  193. <sect4><title>true</title>
  194. <para>true always exits with a status code indicating success.</para></sect4>
  195. <sect4><title>tsort</title>
  196. <para>tsort writes totally ordered lists consistent with the partial ordering
  197. in specified files.</para></sect4>
  198. <sect4><title>tty</title>
  199. <para>tty prints the file name of the terminal connected to standard
  200. input.</para></sect4>
  201. <sect4><title>uname</title>
  202. <para>uname prints system information.</para></sect4>
  203. <sect4><title>unexpand</title>
  204. <para>unexpand converts spaces in each file to tabs, writing to standard
  205. output.</para></sect4>
  206. <sect4><title>uniq</title>
  207. <para>uniq removes duplicate lines from a sorted file.</para></sect4>
  208. <sect4><title>uptime</title>
  209. <para>uptime tells how long the system has been running.</para></sect4>
  210. <sect4><title>users</title>
  211. <para>users prints the user names of users currently logged in to the
  212. current host.</para></sect4>
  213. <sect4><title>wc</title>
  214. <para>wc prints line, word and byte counts for each specified file and a
  215. total line, if more than one file is specified.</para></sect4>
  216. <sect4><title>who</title>
  217. <para>who shows who is logged on.</para></sect4>
  218. <sect4><title>whoami</title>
  219. <para>whoami prints the user name associated with the current
  220. effective user ID.</para></sect4>
  221. <sect4><title>yes</title>
  222. <para>yes outputs 'y' or a given string repeatedly,
  223. until killed.</para></sect4>
  224. </sect3>
  225. </sect2>