coreutils-desc.xml 11 KB

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