diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-05-17 21:55:01 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-05-17 21:55:01 +0000 |
commit | c6cb3aa2f176d65a5ebe77e7da82e20946188a98 (patch) | |
tree | 3167e42f874b5784307f02acc61a0570f31ccb38 /chapter06/coreutils.xml | |
parent | 01b2724c70a6addd4e2190649c14a79be3a85090 (diff) |
HEAD: Retagged the Contents of ... sections.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3621 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/coreutils.xml')
-rw-r--r-- | chapter06/coreutils.xml | 662 |
1 files changed, 537 insertions, 125 deletions
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index 2259585c6..80e6be012 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -94,9 +94,11 @@ mv /usr/bin/chroot /usr/sbin</userinput></screen> </sect2> -<sect2 id="contents-coreutils"><title>Contents of Coreutils</title> +<sect2 id="contents-coreutils" role="content"><title>Contents of Coreutils</title> -<para><emphasis>Installed programs</emphasis>: basename, cat, chgrp, chmod, +<segmentedlist> +<segtitle>Installed programs</segtitle> +<seglistitem><seg>basename, cat, chgrp, chmod, chown, chroot, cksum, comm, cp, csplit, cut, date, dd, df, dir, dircolors, dirname, du, echo, env, expand, expr, factor, false, fmt, fold, groups, head, hostid, hostname, id, install, join, link, ln, logname, ls, md5sum, @@ -104,336 +106,746 @@ mkdir, mkfifo, mknod, mv, nice, nl, nohup, od, paste, pathchk, pinky, pr, printenv, printf, ptx, pwd, readlink, rm, rmdir, seq, sha1sum, shred, sleep, sort, split, stat, stty, su, sum, sync, tac, tail, tee, test, touch, tr, true, tsort, tty, uname, unexpand, uniq, unlink, uptime, users, vdir, wc, who, -whoami and yes</para> - -</sect2> - +whoami and yes</seg></seglistitem> +</segmentedlist> -<sect2><title>Short descriptions</title> +<variablelist><title>Short descriptions</title> +<varlistentry> +<term id="basename"><command>basename</command></term> +<listitem> <indexterm zone="ch-system-coreutils basename"><primary sortas="b-basename">basename</primary></indexterm> -<para id="basename"><command>basename</command> strips any path and a given suffix from -the given file name.</para> +<para>strips any path and a given suffix from the given file name.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="cat"><command>cat</command></term> +<listitem> <indexterm zone="ch-system-coreutils cat"><primary sortas="b-cat">cat</primary></indexterm> -<para id="cat"><command>cat</command> concatenates files to standard output.</para> +<para>concatenates files to standard output.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="chgrp"><command>chgrp</command></term> +<listitem> <indexterm zone="ch-system-coreutils chgrp"><primary sortas="b-chgrp">chgrp</primary></indexterm> -<para id="chgrp"><command>chgrp</command> changes the group ownership of each given -file to the given group. The group can be either given a a name or a numeric -ID.</para> - +<para>changes the group ownership of each given file to the given group. The +group can be either given a a name or a numeric ID.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="chmod"><command>chmod</command></term> +<listitem> <indexterm zone="ch-system-coreutils chmod"><primary sortas="b-chmod">chmod</primary></indexterm> -<para id="chmod"><command>chmod</command> changes the permissions of each given file +<para>changes the permissions of each given file to the given mode. The mode can be either a symbolic representation of the changes to make, or an octal number representing the new permissions.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="chown"><command>chown</command></term> +<listitem> <indexterm zone="ch-system-coreutils chown"><primary sortas="b-chown">chown</primary></indexterm> -<para id="chown"><command>chown</command> changes the user and/or group ownership of +<para>changes the user and/or group ownership of each given file to the given user:group pair.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="chroot"><command>chroot</command></term> +<listitem> <indexterm zone="ch-system-coreutils chroot"><primary sortas="b-chroot">chroot</primary></indexterm> -<para id="chroot"><command>chroot</command> runs a given command with the specified -directory as the <filename>/</filename> directory. The given command can be an -interactive shell. On most systems only <emphasis>root</emphasis> can do -this.</para> - +<para>runs a given command with the specified directory as the +<filename>/</filename> directory. The given command can be an interactive shell. +On most systems only <emphasis>root</emphasis> can do this.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="cksum"><command>cksum</command></term> +<listitem> <indexterm zone="ch-system-coreutils cksum"><primary sortas="b-cksum">cksum</primary></indexterm> -<para id="cksum"><command>cksum</command> prints the CRC (Cyclic Redundancy Check) checksum and the byte +<para>prints the CRC (Cyclic Redundancy Check) checksum and the byte counts of each specified file.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="comm"><command>comm</command></term> +<listitem> <indexterm zone="ch-system-coreutils comm"><primary sortas="b-comm">comm</primary></indexterm> -<para id="comm"><command>comm</command> compares two sorted files, outputting in +<para>compares two sorted files, outputting in three columns the lines that are unique, and the lines that are common.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="cp"><command>cp</command></term> +<listitem> <indexterm zone="ch-system-coreutils cp"><primary sortas="b-cp">cp</primary></indexterm> -<para id="cp"><command>cp</command> copies files.</para> +<para>copies files.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="csplit"><command>csplit</command></term> +<listitem> <indexterm zone="ch-system-coreutils csplit"><primary sortas="b-csplit">csplit</primary></indexterm> -<para id="csplit"><command>csplit</command> splits a given file into several new files, +<para>splits a given file into several new files, separating them according to given patterns or line numbers, and outputting the byte count of each new file.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="cut"><command>cut</command></term> +<listitem> <indexterm zone="ch-system-coreutils cut"><primary sortas="b-cut">cut</primary></indexterm> -<para id="cut"><command>cut</command> prints parts of lines, selecting the parts +<para>prints parts of lines, selecting the parts according to given fields or positions.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="date"><command>date</command></term> +<listitem> <indexterm zone="ch-system-coreutils date"><primary sortas="b-date">date</primary></indexterm> -<para id="date"><command>date</command> displays the current time in the given -format, or sets the system date.</para> +<para>displays the current time in the given format, or sets the system date.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="dd"><command>dd</command> </term> +<listitem> <indexterm zone="ch-system-coreutils dd"><primary sortas="b-dd">dd</primary></indexterm> -<para id="dd"><command>dd</command> copies a file using the given block size and +<para>copies a file using the given block size and count, while optionally performing conversions on it.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="df"><command>df</command></term> +<listitem> <indexterm zone="ch-system-coreutils df"><primary sortas="b-df">df</primary></indexterm> -<para id="df"><command>df</command> reports the amount of disk space available +<para>reports the amount of disk space available (and used) on all mounted file systems, or only on the file systems holding the given files.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="dir"><command>dir</command></term> +<listitem> <indexterm zone="ch-system-coreutils dir"><primary sortas="b-dir">dir</primary></indexterm> -<para id="dir"><command>dir</command> is the same as ls.</para> +<para>is the same as ls.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="dircolors"><command>dircolors</command></term> +<listitem> <indexterm zone="ch-system-coreutils dircolors"><primary sortas="b-dircolors">dircolors</primary></indexterm> -<para id="dircolors"><command>dircolors</command> outputs commands to set the LS_COLOR +<para>outputs commands to set the LS_COLOR environment variable, to change the color scheme used by ls.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="dirname"><command>dirname</command></term> +<listitem> <indexterm zone="ch-system-coreutils dirname"><primary sortas="b-dirname">dirname</primary></indexterm> -<para id="dirname"><command>dirname</command> strips the non-directory suffix from -a given file name.</para> +<para>strips the non-directory suffix from a given file name.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="du"><command>du</command></term> +<listitem> <indexterm zone="ch-system-coreutils du"><primary sortas="b-du">du</primary></indexterm> -<para id="du"><command>du</command> reports the amount of disk space used by the +<para>reports the amount of disk space used by the current directory, or by each of the given directories including all their subdirectories, or by each of the given files.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="echo"><command>echo</command></term> +<listitem> <indexterm zone="ch-system-coreutils echo"><primary sortas="b-echo">echo</primary></indexterm> -<para id="echo"><command>echo</command> displays the given strings.</para> +<para>displays the given strings.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="env"><command>env</command></term> +<listitem> <indexterm zone="ch-system-coreutils env"><primary sortas="b-env">env</primary></indexterm> -<para id="env"><command>env</command> runs a command in a modified environment.</para> +<para>runs a command in a modified environment.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="expand"><command>expand</command></term> +<listitem> <indexterm zone="ch-system-coreutils expand"><primary sortas="b-expand">expand</primary></indexterm> -<para id="expand"><command>expand</command> converts tabs to spaces.</para> +<para>converts tabs to spaces.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="expr"><command>expr</command></term> +<listitem> <indexterm zone="ch-system-coreutils expr"><primary sortas="b-expr">expr</primary></indexterm> -<para id="expr"><command>expr</command> evaluates expressions.</para> +<para>evaluates expressions.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="factor"><command>factor</command></term> +<listitem> <indexterm zone="ch-system-coreutils factor"><primary sortas="b-factor">factor</primary></indexterm> -<para id="factor"><command>factor</command> prints the prime factors of all specified -integer numbers.</para> +<para>prints the prime factors of all specified integer numbers.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="false"><command>false</command></term> +<listitem> <indexterm zone="ch-system-coreutils false"><primary sortas="b-false">false</primary></indexterm> -<para id="false"><command>false</command> does nothing, unsuccessfully. It always +<para>does nothing, unsuccessfully. It always exits with a status code indicating failure.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="mt"><command>fmt</command></term> +<listitem> <indexterm zone="ch-system-coreutils mt"><primary sortas="b-mt">mt</primary></indexterm> -<para id="mt"><command>fmt</command> reformats the paragraphs in the given files.</para> +<para>reformats the paragraphs in the given files.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="fold"><command>fold</command></term> +<listitem> <indexterm zone="ch-system-coreutils fold"><primary sortas="b-fold">fold</primary></indexterm> -<para id="fold"><command>fold</command> wraps the lines in the given files.</para> +<para>wraps the lines in the given files.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="groups-coreutils"><command>groups</command></term> +<listitem> <indexterm zone="ch-system-coreutils groups-coreutils"><primary sortas="b-groups-coreutils">groups</primary></indexterm> -<para id="groups-coreutils"><command>groups</command> reports a user's group memberships.</para> +<para>reports a user's group memberships.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="head"><command>head</command></term> +<listitem> <indexterm zone="ch-system-coreutils head"><primary sortas="b-head">head</primary></indexterm> -<para id="head"><command>head</command> prints the first ten lines (or the given -number of lines) of each given file.</para> +<para>prints the first ten lines (or the given number of lines) of each given file.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="hostid"><command>hostid</command></term> +<listitem> <indexterm zone="ch-system-coreutils hostid"><primary sortas="b-hostid">hostid</primary></indexterm> -<para id="hostid"><command>hostid</command> reports the numeric identifier -(in hexadecimal) of the host.</para> +<para>reports the numeric identifier (in hexadecimal) of the host.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="hostname-coreutils"><command>hostname</command></term> +<listitem> <indexterm zone="ch-system-coreutils hostname-coreutils"><primary sortas="b-hostname-coreutils">hostname</primary></indexterm> -<para id="hostname-coreutils"><command>hostname</command> reports or sets the name of the -host.</para> +<para>reports or sets the name of the host.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="id"><command>id</command></term> +<listitem> <indexterm zone="ch-system-coreutils id"><primary sortas="b-id">id</primary></indexterm> -<para id="id"><command>id</command> reports the effective user ID, group ID, and +<para>reports the effective user ID, group ID, and group memberships of the current user, or of a given user.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="install"><command>install</command> </term> +<listitem> <indexterm zone="ch-system-coreutils install"><primary sortas="b-install">install</primary></indexterm> -<para id="install"><command>install</command> copies files while setting their +<para>copies files while setting their permission modes and, if possible, their owner and group.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="join"><command>join</command></term> +<listitem> <indexterm zone="ch-system-coreutils join"><primary sortas="b-join">join</primary></indexterm> -<para id="join"><command>join</command> joins from two files the lines that have -identical join fields.</para> +<para>joins from two files the lines that have identical join fields.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="link"><command>link</command></term> +<listitem> <indexterm zone="ch-system-coreutils link"><primary sortas="b-link">link</primary></indexterm> -<para id="link"><command>link</command> creates a hard link with the given name -to the given file.</para> +<para>creates a hard link with the given name to the given file.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="ln"><command>ln</command></term> +<listitem> <indexterm zone="ch-system-coreutils ln"><primary sortas="b-ln">ln</primary></indexterm> -<para id="ln"><command>ln</command> makes hard links or soft links between files.</para> +<para>makes hard links or soft links between files.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="logname"><command>logname</command></term> +<listitem> <indexterm zone="ch-system-coreutils logname"><primary sortas="b-logname">logname</primary></indexterm> -<para id="logname"><command>logname</command> reports the current user's login name.</para> +<para>reports the current user's login name.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="ls"><command>ls</command></term> +<listitem> <indexterm zone="ch-system-coreutils ls"><primary sortas="b-ls">ls</primary></indexterm> -<para id="ls"><command>ls</command> lists the contents of each given directory. +<para>lists the contents of each given directory. By default it orders the files and subdirectories alphabetically.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="md5sum"><command>md5sum</command></term> +<listitem> <indexterm zone="ch-system-coreutils md5sum"><primary sortas="b-md5sum">md5sum</primary></indexterm> -<para id="md5sum"><command>md5sum</command> reports or checks MD5 (Message Digest 5) checksums.</para> +<para>reports or checks MD5 (Message Digest 5) checksums.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="mkdir"><command>mkdir</command></term> +<listitem> <indexterm zone="ch-system-coreutils mkdir"><primary sortas="b-mkdir">mkdir</primary></indexterm> -<para id="mkdir"><command>mkdir</command> creates directories with the given names.</para> +<para>creates directories with the given names.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="mkfifo"><command>mkfifo</command></term> +<listitem> <indexterm zone="ch-system-coreutils mkfifo"><primary sortas="b-mkfifo">mkfifo</primary></indexterm> -<para id="mkfifo"><command>mkfifo</command> creates FIFOs (First-In, First-Out, a "named pipe" in UNIX parlance) with the given names.</para> - +<para>creates FIFOs (First-In, First-Out, a "named pipe" in UNIX parlance) with +the given names.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="mknod"><command>mknod</command></term> +<listitem> <indexterm zone="ch-system-coreutils mknod"><primary sortas="b-mknod">mknod</primary></indexterm> -<para id="mknod"><command>mknod</command> creates device nodes with the given names. +<para>creates device nodes with the given names. A device node is a character special file, or a block special file, or a FIFO.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="mv"><command>mv</command></term> +<listitem> <indexterm zone="ch-system-coreutils mv"><primary sortas="b-mv">mv</primary></indexterm> -<para id="mv"><command>mv</command> moves or renames files or directories.</para> +<para>moves or renames files or directories.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="nice"><command>nice</command></term> +<listitem> <indexterm zone="ch-system-coreutils nice"><primary sortas="b-nice">nice</primary></indexterm> -<para id="nice"><command>nice</command> runs a program with modified scheduling priority.</para> +<para>runs a program with modified scheduling priority.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="nl"><command>nl</command></term> +<listitem> <indexterm zone="ch-system-coreutils nl"><primary sortas="b-nl">nl</primary></indexterm> -<para id="nl"><command>nl</command> numbers the lines from the given files.</para> +<para>numbers the lines from the given files.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="nohup"><command>nohup</command></term> +<listitem> <indexterm zone="ch-system-coreutils nohup"><primary sortas="b-nohup">nohup</primary></indexterm> -<para id="nohup"><command>nohup</command> runs a command immune to hangups, with +<para>runs a command immune to hangups, with output redirected to a log file.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="od"><command>od</command></term> +<listitem> <indexterm zone="ch-system-coreutils od"><primary sortas="b-od">od</primary></indexterm> -<para id="od"><command>od</command> dumps files in octal and other formats.</para> +<para>dumps files in octal and other formats.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="paste"><command>paste</command></term> +<listitem> <indexterm zone="ch-system-coreutils paste"><primary sortas="b-paste">paste</primary></indexterm> -<para id="paste"><command>paste</command> merges the given files, joining +<para>merges the given files, joining sequentially corresponding lines side by side, separated by tab characters..</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="pathchk"><command>pathchk</command></term> +<listitem> <indexterm zone="ch-system-coreutils pathchk"><primary sortas="b-pathchk">pathchk</primary></indexterm> -<para id="pathchk"><command>pathchk</command> checks whether file names are valid -or portable.</para> +<para>checks whether file names are valid or portable.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="pinky"><command>pinky</command></term> +<listitem> <indexterm zone="ch-system-coreutils pinky"><primary sortas="b-pinky">pinky</primary></indexterm> -<para id="pinky"><command>pinky</command> is a lightweight finger. It reports -some information about the given users.</para> +<para>is a lightweight finger. It reports some information about the given users.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="pr"><command>pr</command></term> +<listitem> <indexterm zone="ch-system-coreutils pr"><primary sortas="b-pr">pr</primary></indexterm> -<para id="pr"><command>pr</command> paginates and columnates files for printing.</para> +<para>paginates and columnates files for printing.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="printenv"><command>printenv</command></term> +<listitem> <indexterm zone="ch-system-coreutils printenv"><primary sortas="b-printenv">printenv</primary></indexterm> -<para id="printenv"><command>printenv</command> prints the environment.</para> +<para>prints the environment.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="printf"><command>printf</command></term> +<listitem> <indexterm zone="ch-system-coreutils printf"><primary sortas="b-printf">printf</primary></indexterm> -<para id="printf"><command>printf</command> prints the given arguments according to the +<para>prints the given arguments according to the given format -- much like the C printf function.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="ptx"><command>ptx</command></term> +<listitem> <indexterm zone="ch-system-coreutils ptx"><primary sortas="b-ptx">ptx</primary></indexterm> -<para id="ptx"><command>ptx</command> produces from the contents of the given files +<para>produces from the contents of the given files a permuted index, with each keyword in its context.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="pwd"><command>pwd</command></term> +<listitem> <indexterm zone="ch-system-coreutils pwd"><primary sortas="b-pwd">pwd</primary></indexterm> -<para id="pwd"><command>pwd</command> reports the name of the current directory.</para> +<para>reports the name of the current directory.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="readlink"><command>readlink</command></term> +<listitem> <indexterm zone="ch-system-coreutils readlink"><primary sortas="b-readlink">readlink</primary></indexterm> -<para id="readlink"><command>readlink</command> reports the value of the given symbolic -link.</para> +<para>reports the value of the given symbolic link.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="rm"><command>rm</command></term> +<listitem> <indexterm zone="ch-system-coreutils rm"><primary sortas="b-rm">rm</primary></indexterm> -<para id="rm"><command>rm</command> removes files or directories.</para> +<para>removes files or directories.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="rmdir"><command>rmdir</command></term> +<listitem> <indexterm zone="ch-system-coreutils rmdir"><primary sortas="b-rmdir">rmdir</primary></indexterm> -<para id="rmdir"><command>rmdir</command> removes directories, if they are empty.</para> +<para>removes directories, if they are empty.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="seq"><command>seq</command></term> +<listitem> <indexterm zone="ch-system-coreutils seq"><primary sortas="b-seq">seq</primary></indexterm> -<para id="seq"><command>seq</command> prints a sequence of numbers, within a given +<para>prints a sequence of numbers, within a given range and with a given increment.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="sha1sum"><command>sha1sum</command></term> +<listitem> <indexterm zone="ch-system-coreutils sha1sum"><primary sortas="b-sha1sum">sha1sum</primary></indexterm> -<para id="sha1sum"><command>sha1sum</command> prints or checks 160-bit SHA1 -checksums.</para> +<para>prints or checks 160-bit SHA1 checksums.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="shred"><command>shred</command></term> +<listitem> <indexterm zone="ch-system-coreutils shred"><primary sortas="b-shred">shred</primary></indexterm> -<para id="shred"><command>shred</command> overwrites the given files repeatedly with +<para>overwrites the given files repeatedly with strange patterns, to make it real hard to recover the data.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="sleep"><command>sleep</command></term> +<listitem> <indexterm zone="ch-system-coreutils sleep"><primary sortas="b-sleep">sleep</primary></indexterm> -<para id="sleep"><command>sleep</command> pauses for the given amount of time.</para> +<para>pauses for the given amount of time.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="sort"><command>sort</command></term> +<listitem> <indexterm zone="ch-system-coreutils sort"><primary sortas="b-sort">sort</primary></indexterm> -<para id="sort"><command>sort</command> sorts the lines from the given files.</para> +<para>sorts the lines from the given files.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="split"><command>split</command></term> +<listitem> <indexterm zone="ch-system-coreutils split"><primary sortas="b-split">split</primary></indexterm> -<para id="split"><command>split</command> splits the given file into pieces, by size -or by numbspliter of lines.</para> +<para>splits the given file into pieces, by size or by numbspliter of lines.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="stty"><command>stty</command></term> +<listitem> <indexterm zone="ch-system-coreutils stty"><primary sortas="b-stty">stty</primary></indexterm> -<para id="stty"><command>stty</command> sets or reports terminal line settings.</para> +<para>sets or reports terminal line settings.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="su"><command>su</command></term> +<listitem> <indexterm zone="ch-system-coreutils su"><primary sortas="b-su">su</primary></indexterm> -<para id="su"><command>su</command> runs a shell with substitute user and group IDs.</para> +<para>runs a shell with substitute user and group IDs.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="sum"><command>sum</command></term> +<listitem> <indexterm zone="ch-system-coreutils sum"><primary sortas="b-sum">sum</primary></indexterm> -<para id="sum"><command>sum</command> prints checksum and block counts for each -given file.</para> +<para>prints checksum and block counts for each given file.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="sync"><command>sync</command></term> +<listitem> <indexterm zone="ch-system-coreutils sync"><primary sortas="b-sync">sync</primary></indexterm> -<para id="sync"><command>sync</command> flushes file system buffers. It forces +<para>flushes file system buffers. It forces changed blocks to disk and updates the super block.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="tac"><command>tac</command></term> +<listitem> <indexterm zone="ch-system-coreutils tac"><primary sortas="b-tac">tac</primary></indexterm> -<para id="tac"><command>tac</command> concatenates the given files in reverse.</para> +<para>concatenates the given files in reverse.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="tail"><command>tail</command></term> +<listitem> <indexterm zone="ch-system-coreutils tail"><primary sortas="b-tail">tail</primary></indexterm> -<para id="tail"><command>tail</command> prints the last ten lines (or the given -number of lines) of each given file.</para> +<para>prints the last ten lines (or the given number of lines) of each given file.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="tee"><command>tee</command></term> +<listitem> <indexterm zone="ch-system-coreutils tee"><primary sortas="b-tee">tee</primary></indexterm> -<para id="tee"><command>tee</command> reads from standard input while writing both +<para>reads from standard input while writing both to standard output and to the given files.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="test"><command>test</command></term> +<listitem> <indexterm zone="ch-system-coreutils test"><primary sortas="b-test">test</primary></indexterm> -<para id="test"><command>test</command> compares values and checks file types.</para> +<para>compares values and checks file types.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="touch"><command>touch</command></term> +<listitem> <indexterm zone="ch-system-coreutils touch"><primary sortas="b-touch">touch</primary></indexterm> -<para id="touch"><command>touch</command> changes file timestamps, setting the access +<para>changes file timestamps, setting the access and modification times of the given files to the current time. Files that do not exist are created with zero length.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="tr"><command>tr</command></term> +<listitem> <indexterm zone="ch-system-coreutils tr"><primary sortas="b-tr">tr</primary></indexterm> -<para id="tr"><command>tr</command> translates, squeezes, and deletes the given +<para>translates, squeezes, and deletes the given characters from standard input.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="true"><command>true</command></term> +<listitem> <indexterm zone="ch-system-coreutils true"><primary sortas="b-true">true</primary></indexterm> -<para id="true"><command>true</command> does nothing, successfully. It always exits +<para>does nothing, successfully. It always exits with a status code indicating success.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="tsort"><command>tsort</command></term> +<listitem> <indexterm zone="ch-system-coreutils tsort"><primary sortas="b-tsort">tsort</primary></indexterm> -<para id="tsort"><command>tsort</command> performs a topological sort. It writes a +<para>performs a topological sort. It writes a totally ordered list according to the partial ordering in a given file.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="tty"><command>tty</command></term> +<listitem> <indexterm zone="ch-system-coreutils tty"><primary sortas="b-tty">tty</primary></indexterm> -<para id="tty"><command>tty</command> reports the file name of the terminal -connected to standard input.</para> +<para>reports the file name of the terminal connected to standard input.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="uname"><command>uname</command></term> +<listitem> <indexterm zone="ch-system-coreutils uname"><primary sortas="b-uname">uname</primary></indexterm> -<para id="uname"><command>uname</command> reports system information.</para> +<para>reports system information.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="unexpand"><command>unexpand</command></term> +<listitem> <indexterm zone="ch-system-coreutils unexpand"><primary sortas="b-unexpand">unexpand</primary></indexterm> -<para id="unexpand"><command>unexpand</command> converts spaces to tabs.</para> +<para>converts spaces to tabs.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="uniq"><command>uniq</command></term> +<listitem> <indexterm zone="ch-system-coreutils uniq"><primary sortas="b-uniq">uniq</primary></indexterm> -<para id="uniq"><command>uniq</command> discards all but one of successive -identical lines.</para> +<para>discards all but one of successive identical lines.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="unlink"><command>unlink</command></term> +<listitem> <indexterm zone="ch-system-coreutils unlink"><primary sortas="b-unlink">unlink</primary></indexterm> -<para id="unlink"><command>unlink</command> removes the given file.</para> +<para>removes the given file.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="uptime-coreutils"><command>uptime</command></term> +<listitem> <indexterm zone="ch-system-coreutils uptime-coreutils"><primary sortas="b-uptime-coreutils">uptime</primary></indexterm> -<para id="uptime-coreutils"><command>uptime</command> reports how long the system has been +<para>reports how long the system has been running, how many users are logged on, and the system load averages.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="users"><command>users</command></term> +<listitem> <indexterm zone="ch-system-coreutils users"><primary sortas="b-users">users</primary></indexterm> -<para id="users"><command>users</command> reports the names of the users currently -logged on.</para> +<para>reports the names of the users currently logged on.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="vdir"><command>vdir</command></term> +<listitem> <indexterm zone="ch-system-coreutils vdir"><primary sortas="b-vdir">vdir</primary></indexterm> -<para id="vdir"><command>vdir</command> is the same as ls -l.</para> +<para>is the same as ls -l.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="wc"><command>wc</command></term> +<listitem> <indexterm zone="ch-system-coreutils wc"><primary sortas="b-wc">wc</primary></indexterm> -<para id="wc"><command>wc</command> reports the number of lines, words, and bytes +<para>reports the number of lines, words, and bytes for each given file, and a total line when more than one file is given.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="who"><command>who</command></term> +<listitem> <indexterm zone="ch-system-coreutils who"><primary sortas="b-who">who</primary></indexterm> -<para id="who"><command>who</command> reports who is logged on.</para> +<para>reports who is logged on.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="whoami"><command>whoami</command></term> +<listitem> <indexterm zone="ch-system-coreutils whoami"><primary sortas="b-whoami">whoami</primary></indexterm> -<para id="whoami"><command>whoami</command> reports the user name associated with the -current effective user ID.</para> +<para>reports the user name associated with the current effective user ID.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="yes"><command>yes</command></term> +<listitem> <indexterm zone="ch-system-coreutils yes"><primary sortas="b-yes">yes</primary></indexterm> -<para id="yes"><command>yes</command> outputs 'y' or a given string repeatedly, -until killed.</para> +<para>outputs 'y' or a given string repeatedly, until killed.</para> +</listitem> +</varlistentry> +</variablelist> </sect2> - - </sect1> |