source: appendixa/shellutils-desc.xml@ 977b62e

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 v3_0 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/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 977b62e was 7d45ab12, checked in by Gerard Beekmans <gerard@…>, 23 years ago

typo's

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

  • Property mode set to 100644
File size: 4.1 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>
15
[b822811]16<para>basename strips directory and suffixes from filenames.</para>
[6370fa6]17
18</sect3>
19
20<sect3><title>chroot</title>
21
[b822811]22<para>chroot runs a command or interactive shell with special
23root directory.</para>
[6370fa6]24
25</sect3>
26
27<sect3><title>date</title>
28
[b822811]29<para>date displays the current time in a specified format, or sets
30the system date.</para>
[6370fa6]31
32</sect3>
33
34<sect3><title>dirname</title>
35
[b822811]36<para>dirname strips non-directory suffixes from file name.</para>
[6370fa6]37
38</sect3>
39
40<sect3><title>echo</title>
41
[b822811]42<para>echo displays a line of text.</para>
[6370fa6]43
44</sect3>
45
46<sect3><title>env</title>
47
[b822811]48<para>env runs a program in a modified environment.</para>
[6370fa6]49
50</sect3>
51
52<sect3><title>expr</title>
53
[b822811]54<para>expr evaluates expressions.</para>
[6370fa6]55
56</sect3>
57
58<sect3><title>factor</title>
59
[b822811]60<para>factor prints the prime factors of all specified integer numbers.</para>
[6370fa6]61
62</sect3>
63
64<sect3><title>false</title>
65
[b822811]66<para>false always exits with a status code indicating failure.</para>
[6370fa6]67
68</sect3>
69
70<sect3><title>groups</title>
71
[b822811]72<para>groups prints the groups a user is in.</para>
[6370fa6]73
74</sect3>
75
76<sect3><title>hostid</title>
77
[b822811]78<para>hostid prints the numeric identifier (in hexadecimal) for the current
79host.</para>
[6370fa6]80
81</sect3>
82
83<sect3><title>hostname</title>
84
[b822811]85<para>hostname sets or prints the name of the current host system</para>
[6370fa6]86
87</sect3>
88
89<sect3><title>id</title>
90
[b822811]91<para>id prints the real and effective UIDs and GIDs of a user or the current
92user.</para>
[6370fa6]93
94</sect3>
95
96<sect3><title>logname</title>
97
[b822811]98<para>logname prints the current user's login name.</para>
[6370fa6]99
100</sect3>
101
102<sect3><title>nice</title>
103
[b822811]104<para>nice runs a program with modified scheduling priority.</para>
[6370fa6]105
106</sect3>
107
108<sect3><title>nohup</title>
109
[b822811]110<para>nohup runs a command immune to hangups, with output to a non-tty</para>
[6370fa6]111
112</sect3>
113
114<sect3><title>pathchk</title>
115
[b822811]116<para>pathchk checks whether file names are valid or portable.</para>
[6370fa6]117
118</sect3>
119
120<sect3><title>pinky</title>
121
[b822811]122<para>pinky is a lightweight finger utility which retrieves information about
123a certain user</para>
[6370fa6]124
125</sect3>
126
127<sect3><title>printenv</title>
128
[b822811]129<para>printenv prints all or part of the environment.</para>
[6370fa6]130
131</sect3>
132
133<sect3><title>printf</title>
134
[cac792e]135<para>printf formats and prints data (the same as the printf C function).</para>
[6370fa6]136
137</sect3>
138
139<sect3><title>pwd</title>
140
[b822811]141<para>pwd prints the name of the current/working directory</para>
[6370fa6]142
143</sect3>
144
145<sect3><title>seq</title>
146
[b822811]147<para>seq prints numbers in a certain range with a certain increment.</para>
[6370fa6]148
149</sect3>
150
151<sect3><title>sleep</title>
152
[b822811]153<para>sleep delays for a specified amount of time.</para>
[6370fa6]154
155</sect3>
156
157<sect3><title>stty</title>
158
[b822811]159<para>stty changes and prints terminal line settings.</para>
[6370fa6]160
161</sect3>
162
163<sect3><title>su</title>
164
[b822811]165<para>su runs a shell with substitute user and group IDs</para>
[6370fa6]166
167</sect3>
168
169<sect3><title>tee</title>
170
[7d45ab12]171<para>tee reads from standard input and writes to standard output and
[b822811]172files.</para>
[6370fa6]173
174</sect3>
175
176<sect3><title>test</title>
177
[b822811]178<para>test checks file types and compares values.</para>
[6370fa6]179
180</sect3>
181
182<sect3><title>true</title>
183
[b822811]184<para>True always exits with a status code indicating success.</para>
[6370fa6]185
186</sect3>
187
188<sect3><title>tty</title>
189
[b822811]190<para>tty prints the file name of the terminal connected to standard
191input.</para>
[6370fa6]192
193</sect3>
194
195<sect3><title>uname</title>
196
[b822811]197<para>uname prints system information.</para>
[6370fa6]198
199</sect3>
200
201<sect3><title>uptime</title>
202
[b822811]203<para>uptime tells how long the system has been running.</para>
[6370fa6]204
205</sect3>
206
207<sect3><title>users</title>
208
[b822811]209<para>users prints the user names of users currently logged in to the
210current host.</para>
[6370fa6]211
212</sect3>
213
214<sect3><title>who</title>
215
[b822811]216<para>who shows who is logged on.</para>
[6370fa6]217
218</sect3>
219
220<sect3><title>whoami</title>
221
[7d45ab12]222<para>whoami prints the user's effective userid.</para>
[6370fa6]223
224</sect3>
225
226<sect3><title>yes</title>
227
[b822811]228<para>yes outputs a string repeatedly until killed.</para>
[6370fa6]229
230</sect3>
231
232</sect2>
233
Note: See TracBrowser for help on using the repository browser.