source: appendixa/shellutils-desc.xml@ 42f94e7

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 12.2 12.2-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 v3_1 v3_2 v3_3 v4_0 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/loongarch-12.2 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 42f94e7 was 53ad30a, checked in by Mark Hymers <markh@…>, 23 years ago

[Bug 190] Put descs in alphabetical order

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

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