source: appendixa/shellutils-desc.xml@ b08f409

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 b08f409 was b08f409, checked in by Gerard Beekmans <gerard@…>, 23 years ago

Initial XML commit

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

  • Property mode set to 100644
File size: 4.2 KB
Line 
1<sect2>
2<title>Contents</title>
3
4<para>
5The Shellutils package contains the basename, chroot, date, dirname,
6echo, env, expr, factor, false, groups, hostid, hostname, id, logname,
7nice, nohup, pathchk, pinky, printenv, printf, pwd, seq, sleep, stty,
8su, tee, test, true, tty, uname, uptime, users, who, whoami and yes
9programs.
10</para>
11
12</sect2>
13
14<sect2><title>Description</title>
15
16<sect3><title>basename</title>
17
18<para>
19basename strips directory and suffixes from filenames.
20</para>
21
22</sect3>
23
24<sect3><title>chroot</title>
25
26<para>
27chroot runs a command or interactive shell with special root directory.
28</para>
29
30</sect3>
31
32<sect3><title>date</title>
33
34<para>
35date displays the current time in a specified format, or sets the system
36date.
37</para>
38
39</sect3>
40
41<sect3><title>dirname</title>
42
43<para>
44dirname strips non-directory suffixes from file name.
45</para>
46
47</sect3>
48
49<sect3><title>echo</title>
50
51<para>
52echo displays a line of text.
53</para>
54
55</sect3>
56
57<sect3><title>env</title>
58
59<para>
60env runs a program in a modified environment.
61</para>
62
63</sect3>
64
65<sect3><title>expr</title>
66
67<para>
68expr evaluates expressions.
69</para>
70
71</sect3>
72
73<sect3><title>factor</title>
74
75<para>
76factor prints the prime factors of all specified integer numbers.
77</para>
78
79</sect3>
80
81<sect3><title>false</title>
82
83<para>
84false always exits with a status code indicating failure.
85</para>
86
87</sect3>
88
89<sect3><title>groups</title>
90
91<para>
92groups prints the groups a user is in.
93</para>
94
95</sect3>
96
97<sect3><title>hostid</title>
98
99<para>
100hostid prints the numeric identifier (in hexadecimal) for the current
101host.
102</para>
103
104</sect3>
105
106<sect3><title>hostname</title>
107
108<para>
109hostname sets or prints the name of the current host system
110</para>
111
112</sect3>
113
114<sect3><title>id</title>
115
116<para>
117id prints the real and effective UIDs and GIDs of a user or the current
118user.
119</para>
120
121</sect3>
122
123<sect3><title>logname</title>
124
125<para>
126logname prints the current user's login name.
127</para>
128
129</sect3>
130
131<sect3><title>nice</title>
132
133<para>
134nice runs a program with modified scheduling priority.
135</para>
136
137</sect3>
138
139<sect3><title>nohup</title>
140
141<para>
142nohup runs a command immune to hangups, with output to a non-tty
143</para>
144
145</sect3>
146
147<sect3><title>pathchk</title>
148
149<para>
150pathchk checks whether file names are valid or portable.
151</para>
152
153</sect3>
154
155<sect3><title>pinky</title>
156
157<para>
158pinky is a lightweight finger utility which retrieves information about
159a certain user
160</para>
161
162</sect3>
163
164<sect3><title>printenv</title>
165
166<para>
167printenv prints all or part of the environment.
168</para>
169
170</sect3>
171
172<sect3><title>printf</title>
173
174<para>
175printf formats and print data (the same as the printf C function).
176</para>
177
178</sect3>
179
180<sect3><title>pwd</title>
181
182<para>
183pwd prints the name of the current/working directory
184</para>
185
186</sect3>
187
188<sect3><title>seq</title>
189
190<para>
191seq prints numbers in a certain range with a certain increment.
192</para>
193
194</sect3>
195
196<sect3><title>sleep</title>
197
198<para>
199sleep delays for a specified amount of time.
200</para>
201
202</sect3>
203
204<sect3><title>stty</title>
205
206<para>
207stty changes and prints terminal line settings.
208</para>
209
210</sect3>
211
212<sect3><title>su</title>
213
214<para>
215su runs a shell with substitute user and group IDs
216</para>
217
218</sect3>
219
220<sect3><title>tee</title>
221
222<para>
223tee reads from standard input and write to standard output and files.
224</para>
225
226</sect3>
227
228<sect3><title>test</title>
229
230<para>
231test checks file types and compares values.
232</para>
233
234</sect3>
235
236<sect3><title>true</title>
237
238<para>
239True always exitx with a status code indicating success.
240</para>
241
242</sect3>
243
244<sect3><title>tty</title>
245
246<para>
247tty prints the file name of the terminal connected to standard input.
248</para>
249
250</sect3>
251
252<sect3><title>uname</title>
253
254<para>
255uname prints system information.
256</para>
257
258</sect3>
259
260<sect3><title>uptime</title>
261
262<para>
263uptime tells how long the system has been running.
264</para>
265
266</sect3>
267
268<sect3><title>users</title>
269
270<para>
271users prints the user names of users currently logged in to the
272current host.
273</para>
274
275</sect3>
276
277<sect3><title>who</title>
278
279<para>
280who shows who is logged on.
281</para>
282
283</sect3>
284
285<sect3><title>whoami</title>
286
287<para>
288whoami prints your effective userid.
289</para>
290
291</sect3>
292
293<sect3><title>yes</title>
294
295<para>
296yes outputs a string repeatedly until killed.
297</para>
298
299</sect3>
300
301</sect2>
302
Note: See TracBrowser for help on using the repository browser.