source: clfs-sysroot/BOOK/final-system/common/coreutils.xml@ f15f637

Last change on this file since f15f637 was cee2ca2, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Went through and made sure that every package in the final system that needs both --build and --host has them.

  • Property mode set to 100644
File size: 34.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-coreutils" role="wrap">
9 <?dbhtml filename="coreutils.html"?>
10
11 <title>Coreutils-&coreutils-version;</title>
12
13 <indexterm zone="ch-system-coreutils">
14 <primary sortas="a-Coreutils">Coreutils</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Coreutils package contains utilities for showing and setting the
21 basic system characteristics.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Coreutils</title>
27
28 <para os="p1">Prevent Coreutils from installing binaries that will be
29 installed by other packages:</para>
30
31<screen os="p2"><userinput>patch -Np1 -i ../&coreutils-suppress-patch;</userinput></screen>
32
33 <para os="a">Configure doesn't properly handle the following tests
34 when cross-compiling:</para>
35
36<screen os="b"><userinput>echo "ac_cv_func_setvbuf_reversed=yes" &gt; config.cache
37echo "fu_cv_sys_stat_statfs2_bsize=yes" &gt;&gt; config.cache</userinput></screen>
38
39 <para os="c">Now prepare Coreutils for compilation:</para>
40
41<screen os="d"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
42 --prefix=/usr --cache-file=config.cache </userinput></screen>
43
44 <para os="e">Compile the package:</para>
45
46<screen os="f"><userinput>make</userinput></screen>
47
48 <para os="g">Install the package:</para>
49
50<screen os="h"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
51
52 <para os="i">Move programs to the locations specified by the FHS:</para>
53
54<screen os="j"><userinput>mv -v ${CLFS}/usr/bin/{cat,chgrp,chmod,chown,cp,date} ${CLFS}/bin
55mv -v ${CLFS}/usr/bin/{dd,df,echo,false,hostname,ln,ls,mkdir,mknod} ${CLFS}/bin
56mv -v ${CLFS}/usr/bin/{mv,pwd,rm,rmdir,stty,true,uname} ${CLFS}/bin
57mv -v ${CLFS}/usr/bin/chroot ${CLFS}/usr/sbin</userinput></screen>
58
59 <para os="k">Other Coreutils programs are used by some of the scripts
60 in the CLFS-Bootscripts pacakge. As <filename
61 class="directory">/usr</filename> may not be available during the early
62 stages of booting, those binaries need to be on the root partition:</para>
63
64<screen os="l"><userinput>mv -v ${CLFS}/usr/bin/{[,basename,head,install,nice} ${CLFS}/bin
65mv -v ${CLFS}/usr/bin/{readlink,sleep,sync,test,touch} ${CLFS}/bin
66ln -svf ../../bin/install ${CLFS}/usr/bin</userinput></screen>
67
68 </sect2>
69
70 <sect2 id="contents-coreutils" role="content">
71 <title>Contents of Coreutils</title>
72
73 <segmentedlist>
74 <segtitle>Installed programs</segtitle>
75
76 <seglistitem>
77 <seg>[, basename, cat, chgrp, chmod, chown, chroot, cksum,
78 comm, cp, csplit, cut, date, dd, df, dir, dircolors, dirname, du,
79 echo, env, expand, expr, factor, false, fmt, fold, groups, head,
80 hostid, hostname, id, install, join, link, ln, logname, ls, md5sum,
81 mkdir, mkfifo, mknod, mv, nice, nl, nohup, od, paste, pathchk, pinky,
82 pr, printenv, printf, ptx, pwd, readlink, rm, rmdir, seq, sha1sum,
83 shred, sleep, sort, split, stat, stty, sum, sync, tac, tail, tee,
84 test, touch, tr, true, tsort, tty, uname, unexpand, uniq, unlink,
85 users, vdir, wc, who, whoami, and yes</seg>
86 </seglistitem>
87 </segmentedlist>
88
89 <variablelist>
90 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
91 <?dbfo list-presentation="list"?>
92 <?dbhtml list-presentation="table"?>
93
94 <varlistentry id="basename">
95 <term><command>basename</command></term>
96 <listitem>
97 <para>Strips any path and a given suffix from a file name</para>
98 <indexterm zone="ch-system-coreutils basename">
99 <primary sortas="b-basename">basename</primary>
100 </indexterm>
101 </listitem>
102 </varlistentry>
103
104 <varlistentry id="cat">
105 <term><command>cat</command></term>
106 <listitem>
107 <para>Concatenates files to standard output</para>
108 <indexterm zone="ch-system-coreutils cat">
109 <primary sortas="b-cat">cat</primary>
110 </indexterm>
111 </listitem>
112 </varlistentry>
113
114 <varlistentry id="chgrp">
115 <term><command>chgrp</command></term>
116 <listitem>
117 <para>Changes the group ownership of files and directories</para>
118 <indexterm zone="ch-system-coreutils chgrp">
119 <primary sortas="b-chgrp">chgrp</primary>
120 </indexterm>
121 </listitem>
122 </varlistentry>
123
124 <varlistentry id="chmod">
125 <term><command>chmod</command></term>
126 <listitem>
127 <para>Changes the permissions of each file to the given mode; the mode
128 can be either a symbolic representation of the changes to make or an
129 octal number representing the new permissions</para>
130 <indexterm zone="ch-system-coreutils chmod">
131 <primary sortas="b-chmod">chmod</primary>
132 </indexterm>
133 </listitem>
134 </varlistentry>
135
136 <varlistentry id="chown">
137 <term><command>chown</command></term>
138 <listitem>
139 <para>Changes the user and/or group ownership of files and
140 directories</para>
141 <indexterm zone="ch-system-coreutils chown">
142 <primary sortas="b-chown">chown</primary>
143 </indexterm>
144 </listitem>
145 </varlistentry>
146
147 <varlistentry id="chroot">
148 <term><command>chroot</command></term>
149 <listitem>
150 <para>Runs a command with the specified directory as the
151 <filename class="directory">/</filename> directory</para>
152 <indexterm zone="ch-system-coreutils chroot">
153 <primary sortas="b-chroot">chroot</primary>
154 </indexterm>
155 </listitem>
156 </varlistentry>
157
158 <varlistentry id="cksum">
159 <term><command>cksum</command></term>
160 <listitem>
161 <para>Prints the Cyclic Redundancy Check (CRC) checksum and the byte
162 counts of each specified file</para>
163 <indexterm zone="ch-system-coreutils cksum">
164 <primary sortas="b-cksum">cksum</primary>
165 </indexterm>
166 </listitem>
167 </varlistentry>
168
169 <varlistentry id="comm">
170 <term><command>comm</command></term>
171 <listitem>
172 <para>Compares two sorted files, outputting in three columns the lines
173 that are unique and the lines that are common</para>
174 <indexterm zone="ch-system-coreutils comm">
175 <primary sortas="b-comm">comm</primary>
176 </indexterm>
177 </listitem>
178 </varlistentry>
179
180 <varlistentry id="cp">
181 <term><command>cp</command></term>
182 <listitem>
183 <para>Copies files</para>
184 <indexterm zone="ch-system-coreutils cp">
185 <primary sortas="b-cp">cp</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 <varlistentry id="csplit">
191 <term><command>csplit</command></term>
192 <listitem>
193 <para>Splits a given file into several new files, separating them
194 according to given patterns or line numbers and outputting the byte
195 count of each new file</para>
196 <indexterm zone="ch-system-coreutils csplit">
197 <primary sortas="b-csplit">csplit</primary>
198 </indexterm>
199 </listitem>
200 </varlistentry>
201
202 <varlistentry id="cut">
203 <term><command>cut</command></term>
204 <listitem>
205 <para>Prints sections of lines, selecting the parts according to given
206 fields or positions</para>
207 <indexterm zone="ch-system-coreutils cut">
208 <primary sortas="b-cut">cut</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 <varlistentry id="date">
214 <term><command>date</command></term>
215 <listitem>
216 <para>Displays the current time in the given format, or sets the
217 system date</para>
218 <indexterm zone="ch-system-coreutils date">
219 <primary sortas="b-date">date</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="dd">
225 <term><command>dd</command> </term>
226 <listitem>
227 <para>Copies a file using the given block size and count, while
228 optionally performing conversions on it</para>
229 <indexterm zone="ch-system-coreutils dd">
230 <primary sortas="b-dd">dd</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 <varlistentry id="df">
236 <term><command>df</command></term>
237 <listitem>
238 <para>Reports the amount of disk space available (and used) on all
239 mounted file systems, or only on the file systems holding the selected
240 files</para>
241 <indexterm zone="ch-system-coreutils df">
242 <primary sortas="b-df">df</primary>
243 </indexterm>
244 </listitem>
245 </varlistentry>
246
247 <varlistentry id="dir">
248 <term><command>dir</command></term>
249 <listitem>
250 <para>Lists the contents of each given directory (the same as
251 the <command>ls</command> command)</para>
252 <indexterm zone="ch-system-coreutils dir">
253 <primary sortas="b-dir">dir</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257
258 <varlistentry id="dircolors">
259 <term><command>dircolors</command></term>
260 <listitem>
261 <para>Outputs commands to set the <envar>LS_COLOR</envar>
262 environment variable to change the color scheme used by
263 <command>ls</command></para>
264 <indexterm zone="ch-system-coreutils dircolors">
265 <primary sortas="b-dircolors">dircolors</primary>
266 </indexterm>
267 </listitem>
268 </varlistentry>
269
270 <varlistentry id="dirname">
271 <term><command>dirname</command></term>
272 <listitem>
273 <para>Strips the non-directory suffix from a file name</para>
274 <indexterm zone="ch-system-coreutils dirname">
275 <primary sortas="b-dirname">dirname</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
279
280 <varlistentry id="du">
281 <term><command>du</command></term>
282 <listitem>
283 <para>Reports the amount of disk space used by the current directory,
284 by each of the given directories (including all subdirectories) or by
285 each of the given files</para>
286 <indexterm zone="ch-system-coreutils du">
287 <primary sortas="b-du">du</primary>
288 </indexterm>
289 </listitem>
290 </varlistentry>
291
292 <varlistentry id="echo">
293 <term><command>echo</command></term>
294 <listitem>
295 <para>Displays the given strings</para>
296 <indexterm zone="ch-system-coreutils echo">
297 <primary sortas="b-echo">echo</primary>
298 </indexterm>
299 </listitem>
300 </varlistentry>
301
302 <varlistentry id="env">
303 <term><command>env</command></term>
304 <listitem>
305 <para>Runs a command in a modified environment</para>
306 <indexterm zone="ch-system-coreutils env">
307 <primary sortas="b-env">env</primary>
308 </indexterm>
309 </listitem>
310 </varlistentry>
311
312 <varlistentry id="expand">
313 <term><command>expand</command></term>
314 <listitem>
315 <para>Converts tabs to spaces</para>
316 <indexterm zone="ch-system-coreutils expand">
317 <primary sortas="b-expand">expand</primary>
318 </indexterm>
319 </listitem>
320 </varlistentry>
321
322 <varlistentry id="expr">
323 <term><command>expr</command></term>
324 <listitem>
325 <para>Evaluates expressions</para>
326 <indexterm zone="ch-system-coreutils expr">
327 <primary sortas="b-expr">expr</primary>
328 </indexterm>
329 </listitem>
330 </varlistentry>
331
332 <varlistentry id="factor">
333 <term><command>factor</command></term>
334 <listitem>
335 <para>Prints the prime factors of all specified integer numbers</para>
336 <indexterm zone="ch-system-coreutils factor">
337 <primary sortas="b-factor">factor</primary>
338 </indexterm>
339 </listitem>
340 </varlistentry>
341
342 <varlistentry id="false">
343 <term><command>false</command></term>
344 <listitem>
345 <para>Does nothing, unsuccessfully; it always exits with a status code
346 indicating failure</para>
347 <indexterm zone="ch-system-coreutils false">
348 <primary sortas="b-false">false</primary>
349 </indexterm>
350 </listitem>
351 </varlistentry>
352
353 <varlistentry id="fmt">
354 <term><command>fmt</command></term>
355 <listitem>
356 <para>Reformats the paragraphs in the given files</para>
357 <indexterm zone="ch-system-coreutils fmt">
358 <primary sortas="b-fmt">fmt</primary>
359 </indexterm>
360 </listitem>
361 </varlistentry>
362
363 <varlistentry id="fold">
364 <term><command>fold</command></term>
365 <listitem>
366 <para>Wraps the lines in the given files</para>
367 <indexterm zone="ch-system-coreutils fold">
368 <primary sortas="b-fold">fold</primary>
369 </indexterm>
370 </listitem>
371 </varlistentry>
372
373 <varlistentry id="groups">
374 <term><command>groups</command></term>
375 <listitem>
376 <para>Reports a user's group memberships</para>
377 <indexterm zone="ch-system-coreutils groups">
378 <primary sortas="b-groups">groups</primary>
379 </indexterm>
380 </listitem>
381 </varlistentry>
382
383 <varlistentry id="head">
384 <term><command>head</command></term>
385 <listitem>
386 <para>Prints the first ten lines (or the given number of lines)
387 of each given file</para>
388 <indexterm zone="ch-system-coreutils head">
389 <primary sortas="b-head">head</primary>
390 </indexterm>
391 </listitem>
392 </varlistentry>
393
394 <varlistentry id="hostid">
395 <term><command>hostid</command></term>
396 <listitem>
397 <para>Reports the numeric identifier (in hexadecimal) of the host</para>
398 <indexterm zone="ch-system-coreutils hostid">
399 <primary sortas="b-hostid">hostid</primary>
400 </indexterm>
401 </listitem>
402 </varlistentry>
403
404 <varlistentry id="hostname">
405 <term><command>hostname</command></term>
406 <listitem>
407 <para>Reports or sets the name of the host</para>
408 <indexterm zone="ch-system-coreutils hostname">
409 <primary sortas="b-hostname">hostname</primary>
410 </indexterm>
411 </listitem>
412 </varlistentry>
413
414 <varlistentry id="id">
415 <term><command>id</command></term>
416 <listitem>
417 <para>Reports the effective user ID, group ID, and group memberships
418 of the current user or specified user</para>
419 <indexterm zone="ch-system-coreutils id">
420 <primary sortas="b-id">id</primary>
421 </indexterm>
422 </listitem>
423 </varlistentry>
424
425 <varlistentry id="install">
426 <term><command>install</command> </term>
427 <listitem>
428 <para>Copies files while setting their permission modes and, if
429 possible, their owner and group</para>
430 <indexterm zone="ch-system-coreutils install">
431 <primary sortas="b-install">install</primary>
432 </indexterm>
433 </listitem>
434 </varlistentry>
435
436 <varlistentry id="join">
437 <term><command>join</command></term>
438 <listitem>
439 <para>Joins the lines that have identical join fields from two
440 separate files</para>
441 <indexterm zone="ch-system-coreutils join">
442 <primary sortas="b-join">join</primary>
443 </indexterm>
444 </listitem>
445 </varlistentry>
446
447 <varlistentry id="link">
448 <term><command>link</command></term>
449 <listitem>
450 <para>Creates a hard link with the given name to a file</para>
451 <indexterm zone="ch-system-coreutils link">
452 <primary sortas="b-link">link</primary>
453 </indexterm>
454 </listitem>
455 </varlistentry>
456
457 <varlistentry id="ln">
458 <term><command>ln</command></term>
459 <listitem>
460 <para>Makes hard links or soft (symbolic) links between files</para>
461 <indexterm zone="ch-system-coreutils ln">
462 <primary sortas="b-ln">ln</primary>
463 </indexterm>
464 </listitem>
465 </varlistentry>
466
467 <varlistentry id="logname">
468 <term><command>logname</command></term>
469 <listitem>
470 <para>Reports the current user's login name</para>
471 <indexterm zone="ch-system-coreutils logname">
472 <primary sortas="b-logname">logname</primary>
473 </indexterm>
474 </listitem>
475 </varlistentry>
476
477 <varlistentry id="ls">
478 <term><command>ls</command></term>
479 <listitem>
480 <para>Lists the contents of each given directory</para>
481 <indexterm zone="ch-system-coreutils ls">
482 <primary sortas="b-ls">ls</primary>
483 </indexterm>
484 </listitem>
485 </varlistentry>
486
487 <varlistentry id="md5sum">
488 <term><command>md5sum</command></term>
489 <listitem>
490 <para>Reports or checks Message Digest 5 (MD5) checksums</para>
491 <indexterm zone="ch-system-coreutils md5sum">
492 <primary sortas="b-md5sum">md5sum</primary>
493 </indexterm>
494 </listitem>
495 </varlistentry>
496
497 <varlistentry id="mkdir">
498 <term><command>mkdir</command></term>
499 <listitem>
500 <para>Creates directories with the given names</para>
501 <indexterm zone="ch-system-coreutils mkdir">
502 <primary sortas="b-mkdir">mkdir</primary>
503 </indexterm>
504 </listitem>
505 </varlistentry>
506
507 <varlistentry id="mkfifo">
508 <term><command>mkfifo</command></term>
509 <listitem>
510 <para>Creates First-In, First-Outs (FIFOs), a <quote>named
511 pipe</quote> in UNIX parlance, with the given names</para>
512 <indexterm zone="ch-system-coreutils mkfifo">
513 <primary sortas="b-mkfifo">mkfifo</primary>
514 </indexterm>
515 </listitem>
516 </varlistentry>
517
518 <varlistentry id="mknod">
519 <term><command>mknod</command></term>
520 <listitem>
521 <para>Creates device nodes with the given names; a device node is a
522 character special file, a block special file, or a FIFO</para>
523 <indexterm zone="ch-system-coreutils mknod">
524 <primary sortas="b-mknod">mknod</primary>
525 </indexterm>
526 </listitem>
527 </varlistentry>
528
529 <varlistentry id="mv">
530 <term><command>mv</command></term>
531 <listitem>
532 <para>Moves or renames files or directories</para>
533 <indexterm zone="ch-system-coreutils mv">
534 <primary sortas="b-mv">mv</primary>
535 </indexterm>
536 </listitem>
537 </varlistentry>
538
539 <varlistentry id="nice">
540 <term><command>nice</command></term>
541 <listitem>
542 <para>Runs a program with modified scheduling priority</para>
543 <indexterm zone="ch-system-coreutils nice">
544 <primary sortas="b-nice">nice</primary>
545 </indexterm>
546 </listitem>
547 </varlistentry>
548
549 <varlistentry id="nl">
550 <term><command>nl</command></term>
551 <listitem>
552 <para>Numbers the lines from the given files</para>
553 <indexterm zone="ch-system-coreutils nl">
554 <primary sortas="b-nl">nl</primary>
555 </indexterm>
556 </listitem>
557 </varlistentry>
558
559 <varlistentry id="nohup">
560 <term><command>nohup</command></term>
561 <listitem>
562 <para>Runs a command immune to hangups, with its output redirected to
563 a log file</para>
564 <indexterm zone="ch-system-coreutils nohup">
565 <primary sortas="b-nohup">nohup</primary>
566 </indexterm>
567 </listitem>
568 </varlistentry>
569
570 <varlistentry id="od">
571 <term><command>od</command></term>
572 <listitem>
573 <para>Dumps files in octal and other formats</para>
574 <indexterm zone="ch-system-coreutils od">
575 <primary sortas="b-od">od</primary>
576 </indexterm>
577 </listitem>
578 </varlistentry>
579
580 <varlistentry id="paste">
581 <term><command>paste</command></term>
582 <listitem>
583 <para>Merges the given files, joining sequentially corresponding lines
584 side by side, separated by tab characters</para>
585 <indexterm zone="ch-system-coreutils paste">
586 <primary sortas="b-paste">paste</primary>
587 </indexterm>
588 </listitem>
589 </varlistentry>
590
591 <varlistentry id="pathchk">
592 <term><command>pathchk</command></term>
593 <listitem>
594 <para>Checks if file names are valid or portable</para>
595 <indexterm zone="ch-system-coreutils pathchk">
596 <primary sortas="b-pathchk">pathchk</primary>
597 </indexterm>
598 </listitem>
599 </varlistentry>
600
601 <varlistentry id="pinky">
602 <term><command>pinky</command></term>
603 <listitem>
604 <para>Is a lightweight finger client; it reports some information
605 about the given users</para>
606 <indexterm zone="ch-system-coreutils pinky">
607 <primary sortas="b-pinky">pinky</primary>
608 </indexterm>
609 </listitem>
610 </varlistentry>
611
612 <varlistentry id="pr">
613 <term><command>pr</command></term>
614 <listitem>
615 <para>Paginates and columnates files for printing</para>
616 <indexterm zone="ch-system-coreutils pr">
617 <primary sortas="b-pr">pr</primary>
618 </indexterm>
619 </listitem>
620 </varlistentry>
621
622 <varlistentry id="printenv">
623 <term><command>printenv</command></term>
624 <listitem>
625 <para>Prints the environment</para>
626 <indexterm zone="ch-system-coreutils printenv">
627 <primary sortas="b-printenv">printenv</primary>
628 </indexterm>
629 </listitem>
630 </varlistentry>
631
632 <varlistentry id="printf">
633 <term><command>printf</command></term>
634 <listitem>
635 <para>Prints the given arguments according to the given format, much
636 like the C printf function</para>
637 <indexterm zone="ch-system-coreutils printf">
638 <primary sortas="b-printf">printf</primary>
639 </indexterm>
640 </listitem>
641 </varlistentry>
642
643 <varlistentry id="ptx">
644 <term><command>ptx</command></term>
645 <listitem>
646 <para>Produces a permuted index from the contents of the given files,
647 with each keyword in its context</para>
648 <indexterm zone="ch-system-coreutils ptx">
649 <primary sortas="b-ptx">ptx</primary>
650 </indexterm>
651 </listitem>
652 </varlistentry>
653
654 <varlistentry id="pwd">
655 <term><command>pwd</command></term>
656 <listitem>
657 <para>Reports the name of the current working directory</para>
658 <indexterm zone="ch-system-coreutils pwd">
659 <primary sortas="b-pwd">pwd</primary>
660 </indexterm>
661 </listitem>
662 </varlistentry>
663
664 <varlistentry id="readlink">
665 <term><command>readlink</command></term>
666 <listitem>
667 <para>Reports the value of the given symbolic link</para>
668 <indexterm zone="ch-system-coreutils readlink">
669 <primary sortas="b-readlink">readlink</primary>
670 </indexterm>
671 </listitem>
672 </varlistentry>
673
674 <varlistentry id="rm">
675 <term><command>rm</command></term>
676 <listitem>
677 <para>Removes files or directories</para>
678 <indexterm zone="ch-system-coreutils rm">
679 <primary sortas="b-rm">rm</primary>
680 </indexterm>
681 </listitem>
682 </varlistentry>
683
684 <varlistentry id="rmdir">
685 <term><command>rmdir</command></term>
686 <listitem>
687 <para>Removes directories if they are empty</para>
688 <indexterm zone="ch-system-coreutils rmdir">
689 <primary sortas="b-rmdir">rmdir</primary>
690 </indexterm>
691 </listitem>
692 </varlistentry>
693
694 <varlistentry id="seq">
695 <term><command>seq</command></term>
696 <listitem>
697 <para>Prints a sequence of numbers within a given range and with a
698 given increment</para>
699 <indexterm zone="ch-system-coreutils seq">
700 <primary sortas="b-seq">seq</primary>
701 </indexterm>
702 </listitem>
703 </varlistentry>
704
705 <varlistentry id="sha1sum">
706 <term><command>sha1sum</command></term>
707 <listitem>
708 <para>Prints or checks 160-bit Secure Hash Algorithm 1 (SHA1)
709 checksums</para>
710 <indexterm zone="ch-system-coreutils sha1sum">
711 <primary sortas="b-sha1sum">sha1sum</primary>
712 </indexterm>
713 </listitem>
714 </varlistentry>
715
716 <varlistentry id="shred">
717 <term><command>shred</command></term>
718 <listitem>
719 <para>Overwrites the given files repeatedly with complex patterns,
720 making it difficult to recover the data</para>
721 <indexterm zone="ch-system-coreutils shred">
722 <primary sortas="b-shred">shred</primary>
723 </indexterm>
724 </listitem>
725 </varlistentry>
726
727 <varlistentry id="sleep">
728 <term><command>sleep</command></term>
729 <listitem>
730 <para>Pauses for the given amount of time</para>
731 <indexterm zone="ch-system-coreutils sleep">
732 <primary sortas="b-sleep">sleep</primary>
733 </indexterm>
734 </listitem>
735 </varlistentry>
736
737 <varlistentry id="sort">
738 <term><command>sort</command></term>
739 <listitem>
740 <para>Sorts the lines from the given files</para>
741 <indexterm zone="ch-system-coreutils sort">
742 <primary sortas="b-sort">sort</primary>
743 </indexterm>
744 </listitem>
745 </varlistentry>
746
747 <varlistentry id="split">
748 <term><command>split</command></term>
749 <listitem>
750 <para>Splits the given file into pieces, by size or by number of
751 lines</para>
752 <indexterm zone="ch-system-coreutils split">
753 <primary sortas="b-split">split</primary>
754 </indexterm>
755 </listitem>
756 </varlistentry>
757
758 <varlistentry id="stat">
759 <term><command>stat</command></term>
760 <listitem>
761 <para>Displays file or filesystem status</para>
762 <indexterm zone="ch-system-coreutils stat">
763 <primary sortas="b-stat">stat</primary>
764 </indexterm>
765 </listitem>
766 </varlistentry>
767
768 <varlistentry id="stty">
769 <term><command>stty</command></term>
770 <listitem>
771 <para>Sets or reports terminal line settings</para>
772 <indexterm zone="ch-system-coreutils stty">
773 <primary sortas="b-stty">stty</primary>
774 </indexterm>
775 </listitem>
776 </varlistentry>
777
778 <varlistentry id="sum">
779 <term><command>sum</command></term>
780 <listitem>
781 <para>Prints checksum and block counts for each given file</para>
782 <indexterm zone="ch-system-coreutils sum">
783 <primary sortas="b-sum">sum</primary>
784 </indexterm>
785 </listitem>
786 </varlistentry>
787
788 <varlistentry id="sync">
789 <term><command>sync</command></term>
790 <listitem>
791 <para>Flushes file system buffers; it forces changed blocks to disk
792 and updates the super block</para>
793 <indexterm zone="ch-system-coreutils sync">
794 <primary sortas="b-sync">sync</primary>
795 </indexterm>
796 </listitem>
797 </varlistentry>
798
799 <varlistentry id="tac">
800 <term><command>tac</command></term>
801 <listitem>
802 <para>Concatenates the given files in reverse</para>
803 <indexterm zone="ch-system-coreutils tac">
804 <primary sortas="b-tac">tac</primary>
805 </indexterm>
806 </listitem>
807 </varlistentry>
808
809 <varlistentry id="tail">
810 <term><command>tail</command></term>
811 <listitem>
812 <para>Prints the last ten lines (or the given number of lines) of each
813 given file</para>
814 <indexterm zone="ch-system-coreutils tail">
815 <primary sortas="b-tail">tail</primary>
816 </indexterm>
817 </listitem>
818 </varlistentry>
819
820 <varlistentry id="tee">
821 <term><command>tee</command></term>
822 <listitem>
823 <para>Reads from standard input while writing both to standard output
824 and to the given files</para>
825 <indexterm zone="ch-system-coreutils tee">
826 <primary sortas="b-tee">tee</primary>
827 </indexterm>
828 </listitem>
829 </varlistentry>
830
831 <varlistentry id="test">
832 <term><command>test</command> or <command>[</command></term>
833 <listitem>
834 <para>Compares values and checks file types</para>
835 <indexterm zone="ch-system-coreutils test">
836 <primary sortas="b-test">test</primary>
837 </indexterm>
838 </listitem>
839 </varlistentry>
840
841 <varlistentry id="touch">
842 <term><command>touch</command></term>
843 <listitem>
844 <para>Changes file timestamps, setting the access and modification
845 times of the given files to the current time; files that do not exist
846 are created with zero length</para>
847 <indexterm zone="ch-system-coreutils touch">
848 <primary sortas="b-touch">touch</primary>
849 </indexterm>
850 </listitem>
851 </varlistentry>
852
853 <varlistentry id="tr">
854 <term><command>tr</command></term>
855 <listitem>
856 <para>Translates, squeezes, and deletes the given characters from
857 standard input</para>
858 <indexterm zone="ch-system-coreutils tr">
859 <primary sortas="b-tr">tr</primary>
860 </indexterm>
861 </listitem>
862 </varlistentry>
863
864 <varlistentry id="true">
865 <term><command>true</command></term>
866 <listitem>
867 <para>Does nothing, successfully; it always exits with a status code
868 indicating success</para>
869 <indexterm zone="ch-system-coreutils true">
870 <primary sortas="b-true">true</primary>
871 </indexterm>
872 </listitem>
873 </varlistentry>
874
875 <varlistentry id="tsort">
876 <term><command>tsort</command></term>
877 <listitem>
878 <para>Performs a topological sort; it writes a completely ordered list
879 according to the partial ordering in a given file</para>
880 <indexterm zone="ch-system-coreutils tsort">
881 <primary sortas="b-tsort">tsort</primary>
882 </indexterm>
883 </listitem>
884 </varlistentry>
885
886 <varlistentry id="tty">
887 <term><command>tty</command></term>
888 <listitem>
889 <para>Reports the file name of the terminal connected to standard
890 input</para>
891 <indexterm zone="ch-system-coreutils tty">
892 <primary sortas="b-tty">tty</primary>
893 </indexterm>
894 </listitem>
895 </varlistentry>
896
897 <varlistentry id="uname">
898 <term><command>uname</command></term>
899 <listitem>
900 <para>Reports system information</para>
901 <indexterm zone="ch-system-coreutils uname">
902 <primary sortas="b-uname">uname</primary>
903 </indexterm>
904 </listitem>
905 </varlistentry>
906
907 <varlistentry id="unexpand">
908 <term><command>unexpand</command></term>
909 <listitem>
910 <para>Converts spaces to tabs</para>
911 <indexterm zone="ch-system-coreutils unexpand">
912 <primary sortas="b-unexpand">unexpand</primary>
913 </indexterm>
914 </listitem>
915 </varlistentry>
916
917 <varlistentry id="uniq">
918 <term><command>uniq</command></term>
919 <listitem>
920 <para>Discards all but one of successive identical lines</para>
921 <indexterm zone="ch-system-coreutils uniq">
922 <primary sortas="b-uniq">uniq</primary>
923 </indexterm>
924 </listitem>
925 </varlistentry>
926
927 <varlistentry id="unlink">
928 <term><command>unlink</command></term>
929 <listitem>
930 <para>Removes the given file</para>
931 <indexterm zone="ch-system-coreutils unlink">
932 <primary sortas="b-unlink">unlink</primary>
933 </indexterm>
934 </listitem>
935 </varlistentry>
936
937 <varlistentry id="users">
938 <term><command>users</command></term>
939 <listitem>
940 <para>Reports the names of the users currently logged on</para>
941 <indexterm zone="ch-system-coreutils users">
942 <primary sortas="b-users">users</primary>
943 </indexterm>
944 </listitem>
945 </varlistentry>
946
947 <varlistentry id="vdir">
948 <term><command>vdir</command></term>
949 <listitem>
950 <para>Is the same as <command>ls -l</command></para>
951 <indexterm zone="ch-system-coreutils vdir">
952 <primary sortas="b-vdir">vdir</primary>
953 </indexterm>
954 </listitem>
955 </varlistentry>
956
957 <varlistentry id="wc">
958 <term><command>wc</command></term>
959 <listitem>
960 <para>Reports the number of lines, words, and bytes for each given
961 file, as well as a total line when more than one file is given</para>
962 <indexterm zone="ch-system-coreutils wc">
963 <primary sortas="b-wc">wc</primary>
964 </indexterm>
965 </listitem>
966 </varlistentry>
967
968 <varlistentry id="who">
969 <term><command>who</command></term>
970 <listitem>
971 <para>Reports who is logged on</para>
972 <indexterm zone="ch-system-coreutils who">
973 <primary sortas="b-who">who</primary>
974 </indexterm>
975 </listitem>
976 </varlistentry>
977
978 <varlistentry id="whoami">
979 <term><command>whoami</command></term>
980 <listitem>
981 <para>Reports the user name associated with the current effective
982 user ID</para>
983 <indexterm zone="ch-system-coreutils whoami">
984 <primary sortas="b-whoami">whoami</primary>
985 </indexterm>
986 </listitem>
987 </varlistentry>
988
989 <varlistentry id="yes">
990 <term><command>yes</command></term>
991 <listitem>
992 <para>Repeatedly outputs <quote>y</quote> or a given string until
993 killed</para>
994 <indexterm zone="ch-system-coreutils yes">
995 <primary sortas="b-yes">yes</primary>
996 </indexterm>
997 </listitem>
998 </varlistentry>
999
1000 </variablelist>
1001
1002 </sect2>
1003
1004</sect1>
Note: See TracBrowser for help on using the repository browser.