source: appendixa/shellutils-desc.xml@ 7140f58

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk v4_1 v5_0 v5_1 v5_1_1 xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 7140f58 was 2c094d6, checked in by Timothy Bauscher <timothy@…>, 22 years ago

Applied Bill Maltby's grammar patch. Changed $LFS to LFS where appropriate. Internal XML cleanup: removed double spacing where appropriate.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2138 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 4.0 KB
RevLine 
[8fcc2c0]1<sect2><title>Contents of Sh-utils</title>
2
3<para>Last checked against version &sh-utils-contversion;.</para>
[6370fa6]4
[bdc08c1]5<sect3><title>Program Files</title>
6<para>basename, chroot, date, dirname,
[b06ac510]7echo, env, expr, factor, false, groups, hostid, id, logname,
[6370fa6]8nice, nohup, pathchk, pinky, printenv, printf, pwd, seq, sleep, stty,
[bdc08c1]9su, tee, test, true, tty, uname, uptime, users, who, whoami and
10yes</para></sect3>
[6370fa6]11
[bdc08c1]12<sect3><title>Descriptions</title>
[6370fa6]13
[bdc08c1]14<sect4><title>basename</title>
15<para>basename strips directory and suffixes from filenames.</para></sect4>
[6370fa6]16
[bdc08c1]17<sect4><title>chroot</title>
[b822811]18<para>chroot runs a command or interactive shell with special
[bdc08c1]19root directory.</para></sect4>
[6370fa6]20
[bdc08c1]21<sect4><title>date</title>
[b822811]22<para>date displays the current time in a specified format, or sets
[bdc08c1]23the system date.</para></sect4>
[6370fa6]24
[bdc08c1]25<sect4><title>dirname</title>
26<para>dirname strips non-directory suffixes from file name.</para></sect4>
[6370fa6]27
[bdc08c1]28<sect4><title>echo</title>
29<para>echo displays a line of text.</para></sect4>
[6370fa6]30
[bdc08c1]31<sect4><title>env</title>
32<para>env runs a program in a modified environment.</para></sect4>
[6370fa6]33
[bdc08c1]34<sect4><title>expr</title>
35<para>expr evaluates expressions.</para></sect4>
[6370fa6]36
[bdc08c1]37<sect4><title>factor</title>
[53ad30a]38<para>factor prints the prime factors of all specified
[bdc08c1]39integer numbers.</para></sect4>
[6370fa6]40
[bdc08c1]41<sect4><title>false</title>
42<para>false always exits with a status code indicating failure.</para></sect4>
[6370fa6]43
[bdc08c1]44<sect4><title>groups</title>
[2c094d6]45<para>groups prints a user's group memberships.</para></sect4>
[6370fa6]46
[bdc08c1]47<sect4><title>hostid</title>
[b822811]48<para>hostid prints the numeric identifier (in hexadecimal) for the current
[bdc08c1]49host.</para></sect4>
[6370fa6]50
[bdc08c1]51<sect4><title>id</title>
[159c2d2]52<para>id prints the effective user and group IDs of the current
53user or a given user.</para></sect4>
[6370fa6]54
[bdc08c1]55<sect4><title>logname</title>
56<para>logname prints the current user's login name.</para></sect4>
[6370fa6]57
[bdc08c1]58<sect4><title>nice</title>
59<para>nice runs a program with modified scheduling priority.</para></sect4>
[6370fa6]60
[bdc08c1]61<sect4><title>nohup</title>
[53ad30a]62<para>nohup runs a command immune to hangups, with output to a
[2c094d6]63log file.</para></sect4>
[6370fa6]64
[bdc08c1]65<sect4><title>pathchk</title>
66<para>pathchk checks whether file names are valid or portable.</para></sect4>
[6370fa6]67
[bdc08c1]68<sect4><title>pinky</title>
[b822811]69<para>pinky is a lightweight finger utility which retrieves information about
[335838c]70a certain user.</para></sect4>
[6370fa6]71
[bdc08c1]72<sect4><title>printenv</title>
73<para>printenv prints all or part of the environment.</para></sect4>
[6370fa6]74
[bdc08c1]75<sect4><title>printf</title>
[2c094d6]76<para>printf formats and prints data (the same as the C printf
[bdc08c1]77function).</para></sect4>
[6370fa6]78
[bdc08c1]79<sect4><title>pwd</title>
[335838c]80<para>pwd prints the name of the current/working directory.</para></sect4>
[6370fa6]81
[bdc08c1]82<sect4><title>seq</title>
[53ad30a]83<para>seq prints numbers in a certain range with a certain
[bdc08c1]84increment.</para></sect4>
[6370fa6]85
[bdc08c1]86<sect4><title>sleep</title>
87<para>sleep delays for a specified amount of time.</para></sect4>
[6370fa6]88
[bdc08c1]89<sect4><title>stty</title>
90<para>stty changes and prints terminal line settings.</para></sect4>
[6370fa6]91
[bdc08c1]92<sect4><title>su</title>
[159c2d2]93<para>su runs a shell with substitute user and group IDs.</para></sect4>
[6370fa6]94
[bdc08c1]95<sect4><title>tee</title>
[7d45ab12]96<para>tee reads from standard input and writes to standard output and
[bdc08c1]97files.</para></sect4>
[6370fa6]98
[bdc08c1]99<sect4><title>test</title>
100<para>test checks file types and compares values.</para></sect4>
[6370fa6]101
[bdc08c1]102<sect4><title>true</title>
[cf24ff1]103<para>true always exits with a status code indicating success.</para></sect4>
[6370fa6]104
[bdc08c1]105<sect4><title>tty</title>
[b822811]106<para>tty prints the file name of the terminal connected to standard
[bdc08c1]107input.</para></sect4>
[6370fa6]108
[bdc08c1]109<sect4><title>uname</title>
110<para>uname prints system information.</para></sect4>
[6370fa6]111
[bdc08c1]112<sect4><title>uptime</title>
113<para>uptime tells how long the system has been running.</para></sect4>
[6370fa6]114
[bdc08c1]115<sect4><title>users</title>
[b822811]116<para>users prints the user names of users currently logged in to the
[bdc08c1]117current host.</para></sect4>
118
119<sect4><title>who</title>
120<para>who shows who is logged on.</para></sect4>
[6370fa6]121
[bdc08c1]122<sect4><title>whoami</title>
[159c2d2]123<para>whoami prints the user name associated with the current
124effective user ID.</para></sect4>
[6370fa6]125
[bdc08c1]126<sect4><title>yes</title>
[159c2d2]127<para>yes outputs 'y' or a given string repeatedly,
128until killed.</para></sect4>
[6370fa6]129
[bdc08c1]130</sect3>
[6370fa6]131
132</sect2>
133
Note: See TracBrowser for help on using the repository browser.