source: appendixa/shellutils-desc.xml@ ab28d5f

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