1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-system-util-linux-ng" role="wrap">
|
---|
9 | <?dbhtml filename="util-linux-ng.html"?>
|
---|
10 |
|
---|
11 | <title>Util-linux-ng-&util-linux-ng-version;</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-system-util-linux-ng">
|
---|
14 | <primary sortas="a-Util-linux-ng">Util-linux-ng</primary>
|
---|
15 | </indexterm>
|
---|
16 |
|
---|
17 | <sect2 role="package">
|
---|
18 | <title/>
|
---|
19 |
|
---|
20 | <para>The Util-linux-ng package contains miscellaneous utility programs.
|
---|
21 | Among them are utilities for handling file systems, consoles, partitions,
|
---|
22 | and messages.</para>
|
---|
23 |
|
---|
24 |
|
---|
25 | </sect2>
|
---|
26 |
|
---|
27 | <sect2 id="fhs-util-linux-ng" role="installation">
|
---|
28 | <title>FHS compliance notes</title>
|
---|
29 |
|
---|
30 | <para>The FHS recommends using the <filename
|
---|
31 | class="directory">/var/lib/hwclock</filename> directory instead of the
|
---|
32 | usual <filename class="directory">/etc</filename> directory as the
|
---|
33 | location for the <filename>adjtime</filename> file. To make the
|
---|
34 | <command>hwclock</command> program FHS-compliant, run the following:</para>
|
---|
35 |
|
---|
36 | <screen><userinput>sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
|
---|
37 | hwclock/hwclock.c
|
---|
38 | mkdir -pv /var/lib/hwclock</userinput></screen>
|
---|
39 |
|
---|
40 | </sect2>
|
---|
41 |
|
---|
42 | <sect2 role="installation">
|
---|
43 | <title>Installation of Util-linux-ng</title>
|
---|
44 |
|
---|
45 | <para os="a">Prepare Util-linux-ng for compilation:</para>
|
---|
46 |
|
---|
47 | <screen os="b"><userinput>./configure --enable-arch \
|
---|
48 | --enable-partx --enable-write --disable-wall</userinput></screen>
|
---|
49 |
|
---|
50 | <variablelist os="c">
|
---|
51 | <title>The meaning of the configure options:</title>
|
---|
52 |
|
---|
53 | <varlistentry>
|
---|
54 | <term><parameter>--enable-arch</parameter></term>
|
---|
55 | <listitem>
|
---|
56 | <para>This option allows the <command>arch</command> program to be
|
---|
57 | installed.</para>
|
---|
58 | </listitem>
|
---|
59 | </varlistentry>
|
---|
60 |
|
---|
61 | <varlistentry>
|
---|
62 | <term><parameter>--enable-partx</parameter></term>
|
---|
63 | <listitem>
|
---|
64 | <para>Enables building the <command>addpart</command>, <command>delpart</command>,
|
---|
65 | <command>partx</command> programs.</para>
|
---|
66 | </listitem>
|
---|
67 | </varlistentry>
|
---|
68 |
|
---|
69 | <varlistentry>
|
---|
70 | <term><parameter>--enable-write</parameter></term>
|
---|
71 | <listitem>
|
---|
72 | <para>This option allows the <command>write</command> program to be
|
---|
73 | installed.</para>
|
---|
74 | </listitem>
|
---|
75 | </varlistentry>
|
---|
76 |
|
---|
77 | <varlistentry>
|
---|
78 | <term><parameter>--disable-wall</parameter></term>
|
---|
79 | <listitem>
|
---|
80 | <para>Disables building the <command>wall</command> program,
|
---|
81 | as the Sysvinit package installs its own version.</para>
|
---|
82 | </listitem>
|
---|
83 | </varlistentry>
|
---|
84 |
|
---|
85 | </variablelist>
|
---|
86 |
|
---|
87 | <para os="d">Compile the package:</para>
|
---|
88 |
|
---|
89 | <screen os="e"><userinput>make</userinput></screen>
|
---|
90 |
|
---|
91 | <para os="f">This package does not come with a test suite.</para>
|
---|
92 |
|
---|
93 | <para os="g">Install the package:</para>
|
---|
94 |
|
---|
95 | <screen os="h"><userinput>make install</userinput></screen>
|
---|
96 |
|
---|
97 | <para os="i">Move the <command>logger</command> binary to
|
---|
98 | <filename class="directory">/bin</filename> as it is needed by the
|
---|
99 | CLFS-Bootscripts package:</para>
|
---|
100 |
|
---|
101 | <screen os="j"><userinput>mv -v /usr/bin/logger /bin</userinput></screen>
|
---|
102 |
|
---|
103 | </sect2>
|
---|
104 |
|
---|
105 | <sect2 id="contents-util-linux-ng" role="content">
|
---|
106 | <title>Contents of Util-linux-ng</title>
|
---|
107 |
|
---|
108 | <segmentedlist>
|
---|
109 | <segtitle>Installed programs</segtitle>
|
---|
110 |
|
---|
111 | <seglistitem>
|
---|
112 | <seg>addpart, agetty, arch, blockdev, cal, cfdisk, chkdupexe, chrt,
|
---|
113 | col, colcrt, colrm, column, ctrlaltdel, cytune, ddate, delpart, dmesg,
|
---|
114 | fdformat, fdisk, flock, fsck.cramfs, fsck.minix, getopt, hexdump,
|
---|
115 | hwclock, ionice, ipcmk, ipcrm, ipcs, isosize, ldattach, line, logger,
|
---|
116 | look, losetup, lscpu, mcookie, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix,
|
---|
117 | mkswap, more, mount, namei, partx, pg, pivot_root, readprofile, rename,
|
---|
118 | renice, rev, rtcwake, script, scriptreplay, setarch, setsid, setterm,
|
---|
119 | sfdisk, swapoff (link to swapon), swapon, tailf, taskset, tunelp, ul,
|
---|
120 | umount, whereis, and write</seg>
|
---|
121 | </seglistitem>
|
---|
122 | </segmentedlist>
|
---|
123 |
|
---|
124 | <variablelist>
|
---|
125 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
126 | <?dbfo list-presentation="list"?>
|
---|
127 | <?dbhtml list-presentation="table"?>
|
---|
128 |
|
---|
129 | <varlistentry id="addpart">
|
---|
130 | <term><command>addpart</command></term>
|
---|
131 | <listitem>
|
---|
132 | <para>Informs the kernel of a new partition</para>
|
---|
133 | <indexterm zone="ch-system-util-linux-ng addpart">
|
---|
134 | <primary sortas="b-addpart">addpart</primary>
|
---|
135 | </indexterm>
|
---|
136 | </listitem>
|
---|
137 | </varlistentry>
|
---|
138 |
|
---|
139 | <varlistentry id="agetty">
|
---|
140 | <term><command>agetty</command></term>
|
---|
141 | <listitem>
|
---|
142 | <para>Opens a tty port, prompts for a login name,
|
---|
143 | and then invokes the <command>login</command> program</para>
|
---|
144 | <indexterm zone="ch-system-util-linux-ng agetty">
|
---|
145 | <primary sortas="b-agetty">agetty</primary>
|
---|
146 | </indexterm>
|
---|
147 | </listitem>
|
---|
148 | </varlistentry>
|
---|
149 |
|
---|
150 | <varlistentry id="arch">
|
---|
151 | <term><command>arch</command></term>
|
---|
152 | <listitem>
|
---|
153 | <para>Reports the machine's architecture</para>
|
---|
154 | <indexterm zone="ch-system-util-linux-ng arch">
|
---|
155 | <primary sortas="b-arch">arch</primary>
|
---|
156 | </indexterm>
|
---|
157 | </listitem>
|
---|
158 | </varlistentry>
|
---|
159 |
|
---|
160 | <varlistentry id="blockdev">
|
---|
161 | <term><command>blockdev</command></term>
|
---|
162 | <listitem>
|
---|
163 | <para>Allows users to call block device ioctls from the command
|
---|
164 | line</para>
|
---|
165 | <indexterm zone="ch-system-util-linux-ng blockdev">
|
---|
166 | <primary sortas="b-blockdev">blockdev</primary>
|
---|
167 | </indexterm>
|
---|
168 | </listitem>
|
---|
169 | </varlistentry>
|
---|
170 |
|
---|
171 | <varlistentry id="cal">
|
---|
172 | <term><command>cal</command></term>
|
---|
173 | <listitem>
|
---|
174 | <para>Displays a simple calendar</para>
|
---|
175 | <indexterm zone="ch-system-util-linux-ng cal">
|
---|
176 | <primary sortas="b-cal">cal</primary>
|
---|
177 | </indexterm>
|
---|
178 | </listitem>
|
---|
179 | </varlistentry>
|
---|
180 |
|
---|
181 | <varlistentry id="cfdisk">
|
---|
182 | <term><command>cfdisk</command></term>
|
---|
183 | <listitem>
|
---|
184 | <para>Manipulates the partition table of the given device</para>
|
---|
185 | <indexterm zone="ch-system-util-linux-ng cfdisk">
|
---|
186 | <primary sortas="b-cfdisk">cfdisk</primary>
|
---|
187 | </indexterm>
|
---|
188 | </listitem>
|
---|
189 | </varlistentry>
|
---|
190 |
|
---|
191 | <varlistentry id="chkdupexe">
|
---|
192 | <term><command>chkdupexe</command></term>
|
---|
193 | <listitem>
|
---|
194 | <para>Finds duplicate executables</para>
|
---|
195 | <indexterm zone="ch-system-util-linux-ng chkdupexe">
|
---|
196 | <primary sortas="b-chkdupexe">chkdupexe</primary>
|
---|
197 | </indexterm>
|
---|
198 | </listitem>
|
---|
199 | </varlistentry>
|
---|
200 |
|
---|
201 | <varlistentry id="chrt">
|
---|
202 | <term><command>chrt</command></term>
|
---|
203 | <listitem>
|
---|
204 | <para>Manipulates real-time attributes of a process</para>
|
---|
205 | <indexterm zone="ch-system-util-linux-ng chrt">
|
---|
206 | <primary sortas="b-chrt">chrt</primary>
|
---|
207 | </indexterm>
|
---|
208 | </listitem>
|
---|
209 | </varlistentry>
|
---|
210 |
|
---|
211 | <varlistentry id="col">
|
---|
212 | <term><command>col</command></term>
|
---|
213 | <listitem>
|
---|
214 | <para>Filters out reverse line feeds</para>
|
---|
215 | <indexterm zone="ch-system-util-linux-ng col">
|
---|
216 | <primary sortas="b-col">col</primary>
|
---|
217 | </indexterm>
|
---|
218 | </listitem>
|
---|
219 | </varlistentry>
|
---|
220 |
|
---|
221 | <varlistentry id="colcrt">
|
---|
222 | <term><command>colcrt</command></term>
|
---|
223 | <listitem>
|
---|
224 | <para>Filters <command>nroff</command> output for terminals
|
---|
225 | that lack some capabilities, such as overstriking and half-lines</para>
|
---|
226 | <indexterm zone="ch-system-util-linux-ng colcrt">
|
---|
227 | <primary sortas="b-colcrt">colcrt</primary>
|
---|
228 | </indexterm>
|
---|
229 | </listitem>
|
---|
230 | </varlistentry>
|
---|
231 |
|
---|
232 | <varlistentry id="colrm">
|
---|
233 | <term><command>colrm</command></term>
|
---|
234 | <listitem>
|
---|
235 | <para>Filters out the given columns</para>
|
---|
236 | <indexterm zone="ch-system-util-linux-ng colrm">
|
---|
237 | <primary sortas="b-colrm">colrm</primary>
|
---|
238 | </indexterm>
|
---|
239 | </listitem>
|
---|
240 | </varlistentry>
|
---|
241 |
|
---|
242 | <varlistentry id="column">
|
---|
243 | <term><command>column</command></term>
|
---|
244 | <listitem>
|
---|
245 | <para>Formats a given file into multiple columns</para>
|
---|
246 | <indexterm zone="ch-system-util-linux-ng column">
|
---|
247 | <primary sortas="b-column">column</primary>
|
---|
248 | </indexterm>
|
---|
249 | </listitem>
|
---|
250 | </varlistentry>
|
---|
251 |
|
---|
252 | <varlistentry id="ctrlaltdel">
|
---|
253 | <term><command>ctrlaltdel</command></term>
|
---|
254 | <listitem>
|
---|
255 | <para>Sets the function of the Ctrl+Alt+Del key combination to a
|
---|
256 | hard or a soft reset</para>
|
---|
257 | <indexterm zone="ch-system-util-linux-ng ctrlaltdel">
|
---|
258 | <primary sortas="b-ctrlaltdel">ctrlaltdel</primary>
|
---|
259 | </indexterm>
|
---|
260 | </listitem>
|
---|
261 | </varlistentry>
|
---|
262 |
|
---|
263 | <varlistentry id="cytune">
|
---|
264 | <term><command>cytune</command></term>
|
---|
265 | <listitem>
|
---|
266 | <para>Tunes the parameters of the serial line drivers for
|
---|
267 | Cyclades cards</para>
|
---|
268 | <indexterm zone="ch-system-util-linux-ng cytune">
|
---|
269 | <primary sortas="b-cytune">cytune</primary>
|
---|
270 | </indexterm>
|
---|
271 | </listitem>
|
---|
272 | </varlistentry>
|
---|
273 |
|
---|
274 | <varlistentry id="ddate">
|
---|
275 | <term><command>ddate</command></term>
|
---|
276 | <listitem>
|
---|
277 | <para>Gives the Discordian date or converts the given Gregorian date
|
---|
278 | to a Discordian one</para>
|
---|
279 | <indexterm zone="ch-system-util-linux-ng ddate">
|
---|
280 | <primary sortas="b-ddate">ddate</primary>
|
---|
281 | </indexterm>
|
---|
282 | </listitem>
|
---|
283 | </varlistentry>
|
---|
284 |
|
---|
285 | <varlistentry id="delpart">
|
---|
286 | <term><command>delpart</command></term>
|
---|
287 | <listitem>
|
---|
288 | <para>Asks the kernel to remove a partition</para>
|
---|
289 | <indexterm zone="ch-system-util-linux-ng delpart">
|
---|
290 | <primary sortas="b-delpart">delpart</primary>
|
---|
291 | </indexterm>
|
---|
292 | </listitem>
|
---|
293 | </varlistentry>
|
---|
294 |
|
---|
295 | <varlistentry id="dmesg">
|
---|
296 | <term><command>dmesg</command></term>
|
---|
297 | <listitem>
|
---|
298 | <para>Dumps the kernel boot messages</para>
|
---|
299 | <indexterm zone="ch-system-util-linux-ng dmesg">
|
---|
300 | <primary sortas="b-dmesg">dmesg</primary>
|
---|
301 | </indexterm>
|
---|
302 | </listitem>
|
---|
303 | </varlistentry>
|
---|
304 |
|
---|
305 | <varlistentry id="fdformat">
|
---|
306 | <term><command>fdformat</command></term>
|
---|
307 | <listitem>
|
---|
308 | <para>Low-level formats a floppy disk</para>
|
---|
309 | <indexterm zone="ch-system-util-linux-ng fdformat">
|
---|
310 | <primary sortas="b-fdformat">fdformat</primary>
|
---|
311 | </indexterm>
|
---|
312 | </listitem>
|
---|
313 | </varlistentry>
|
---|
314 |
|
---|
315 | <varlistentry id="fdisk">
|
---|
316 | <term><command>fdisk</command></term>
|
---|
317 | <listitem>
|
---|
318 | <para>Manipulates the partition table of the given device</para>
|
---|
319 | <indexterm zone="ch-system-util-linux-ng fdisk">
|
---|
320 | <primary sortas="b-fdisk">fdisk</primary>
|
---|
321 | </indexterm>
|
---|
322 | </listitem>
|
---|
323 | </varlistentry>
|
---|
324 |
|
---|
325 | <varlistentry id="flock">
|
---|
326 | <term><command>flock</command></term>
|
---|
327 | <listitem>
|
---|
328 | <para>Acquires a file lock and then executes a command with the lock
|
---|
329 | held</para>
|
---|
330 | <indexterm zone="ch-system-util-linux-ng flock">
|
---|
331 | <primary sortas="b-flock">flock</primary>
|
---|
332 | </indexterm>
|
---|
333 | </listitem>
|
---|
334 | </varlistentry>
|
---|
335 |
|
---|
336 | <varlistentry id="fsck.cramfs">
|
---|
337 | <term><command>fsck.cramfs</command></term>
|
---|
338 | <listitem>
|
---|
339 | <para>Performs a consistency check on the Cramfs file system on the
|
---|
340 | given device</para>
|
---|
341 | <indexterm zone="ch-system-util-linux-ng fsck.cramfs">
|
---|
342 | <primary sortas="b-fsck.cramfs">fsck.cramfs</primary>
|
---|
343 | </indexterm>
|
---|
344 | </listitem>
|
---|
345 | </varlistentry>
|
---|
346 |
|
---|
347 | <varlistentry id="fsck.minix">
|
---|
348 | <term><command>fsck.minix</command></term>
|
---|
349 | <listitem>
|
---|
350 | <para>Performs a consistency check on the Minix file system on the
|
---|
351 | given device</para>
|
---|
352 | <indexterm zone="ch-system-util-linux-ng fsck.minix">
|
---|
353 | <primary sortas="b-fsck.minix">fsck.minix</primary>
|
---|
354 | </indexterm>
|
---|
355 | </listitem>
|
---|
356 | </varlistentry>
|
---|
357 |
|
---|
358 | <varlistentry id="getopt">
|
---|
359 | <term><command>getopt</command></term>
|
---|
360 | <listitem>
|
---|
361 | <para>Parses options in the given command line</para>
|
---|
362 | <indexterm zone="ch-system-util-linux-ng getopt">
|
---|
363 | <primary sortas="b-getopt">getopt</primary>
|
---|
364 | </indexterm>
|
---|
365 | </listitem>
|
---|
366 | </varlistentry>
|
---|
367 |
|
---|
368 | <varlistentry id="hexdump">
|
---|
369 | <term><command>hexdump</command></term>
|
---|
370 | <listitem>
|
---|
371 | <para>Dumps the given file in hexadecimal or in another given
|
---|
372 | format</para>
|
---|
373 | <indexterm zone="ch-system-util-linux-ng hexdump">
|
---|
374 | <primary sortas="b-hexdump">hexdump</primary>
|
---|
375 | </indexterm>
|
---|
376 | </listitem>
|
---|
377 | </varlistentry>
|
---|
378 |
|
---|
379 | <varlistentry id="hwclock">
|
---|
380 | <term><command>hwclock</command></term>
|
---|
381 | <listitem>
|
---|
382 | <para>Reads or sets the system's hardware clock, also called
|
---|
383 | the Real-Time Clock (RTC) or Basic Input-Output System (BIOS)
|
---|
384 | clock</para>
|
---|
385 | <indexterm zone="ch-system-util-linux-ng hwclock">
|
---|
386 | <primary sortas="b-hwclock">hwclock</primary>
|
---|
387 | </indexterm>
|
---|
388 | </listitem>
|
---|
389 | </varlistentry>
|
---|
390 |
|
---|
391 | <varlistentry id="ionice">
|
---|
392 | <term><command>ionice</command></term>
|
---|
393 | <listitem>
|
---|
394 | <para>Gives and sets program I/O scheduling class and priority</para>
|
---|
395 | <indexterm zone="ch-system-util-linux-ng ionice">
|
---|
396 | <primary sortas="b-ionice">ionice</primary>
|
---|
397 | </indexterm>
|
---|
398 | </listitem>
|
---|
399 | </varlistentry>
|
---|
400 |
|
---|
401 | <varlistentry id="ipcrm">
|
---|
402 | <term><command>ipcrm</command></term>
|
---|
403 | <listitem>
|
---|
404 | <para>Removes the given Inter-Process Communication (IPC) resource</para>
|
---|
405 | <indexterm zone="ch-system-util-linux-ng ipcrm">
|
---|
406 | <primary sortas="b-ipcrm">ipcrm</primary>
|
---|
407 | </indexterm>
|
---|
408 | </listitem>
|
---|
409 | </varlistentry>
|
---|
410 |
|
---|
411 | <varlistentry id="ipcmk">
|
---|
412 | <term><command>ipcmk</command></term>
|
---|
413 | <listitem>
|
---|
414 | <para>Creates various IPC resources</para>
|
---|
415 | <indexterm zone="ch-system-util-linux-ng ipcmk">
|
---|
416 | <primary sortas="b-ipcmk">ipcmk</primary>
|
---|
417 | </indexterm>
|
---|
418 | </listitem>
|
---|
419 | </varlistentry>
|
---|
420 |
|
---|
421 | <varlistentry id="ipcs">
|
---|
422 | <term><command>ipcs</command></term>
|
---|
423 | <listitem>
|
---|
424 | <para>Provides IPC status information</para>
|
---|
425 | <indexterm zone="ch-system-util-linux-ng ipcs">
|
---|
426 | <primary sortas="b-ipcs">ipcs</primary>
|
---|
427 | </indexterm>
|
---|
428 | </listitem>
|
---|
429 | </varlistentry>
|
---|
430 |
|
---|
431 | <varlistentry id="isosize">
|
---|
432 | <term><command>isosize</command></term>
|
---|
433 | <listitem>
|
---|
434 | <para>Reports the size of an iso9660 file system</para>
|
---|
435 | <indexterm zone="ch-system-util-linux-ng isosize">
|
---|
436 | <primary sortas="b-isosize">isosize</primary>
|
---|
437 | </indexterm>
|
---|
438 | </listitem>
|
---|
439 | </varlistentry>
|
---|
440 |
|
---|
441 | <varlistentry id="ldattach">
|
---|
442 | <term><command>ldattach</command></term>
|
---|
443 | <listitem>
|
---|
444 | <para>Attaches a line discipline to a serial line</para>
|
---|
445 | <indexterm zone="ch-system-util-linux-ng ldattach">
|
---|
446 | <primary sortas="b-ldattach">ldattach</primary>
|
---|
447 | </indexterm>
|
---|
448 | </listitem>
|
---|
449 | </varlistentry>
|
---|
450 |
|
---|
451 | <varlistentry id="line">
|
---|
452 | <term><command>line</command></term>
|
---|
453 | <listitem>
|
---|
454 | <para>Copies a single line</para>
|
---|
455 | <indexterm zone="ch-system-util-linux-ng line">
|
---|
456 | <primary sortas="b-line">line</primary>
|
---|
457 | </indexterm>
|
---|
458 | </listitem>
|
---|
459 | </varlistentry>
|
---|
460 |
|
---|
461 | <varlistentry id="logger">
|
---|
462 | <term><command>logger</command></term>
|
---|
463 | <listitem>
|
---|
464 | <para>Enters the given message into the system log</para>
|
---|
465 | <indexterm zone="ch-system-util-linux-ng logger">
|
---|
466 | <primary sortas="b-logger">logger</primary>
|
---|
467 | </indexterm>
|
---|
468 | </listitem>
|
---|
469 | </varlistentry>
|
---|
470 |
|
---|
471 | <varlistentry id="look">
|
---|
472 | <term><command>look</command></term>
|
---|
473 | <listitem>
|
---|
474 | <para>Displays lines that begin with the given string</para>
|
---|
475 | <indexterm zone="ch-system-util-linux-ng look">
|
---|
476 | <primary sortas="b-look">look</primary>
|
---|
477 | </indexterm>
|
---|
478 | </listitem>
|
---|
479 | </varlistentry>
|
---|
480 |
|
---|
481 | <varlistentry id="losetup">
|
---|
482 | <term><command>losetup</command></term>
|
---|
483 | <listitem>
|
---|
484 | <para>Sets up and controls loop devices</para>
|
---|
485 | <indexterm zone="ch-system-util-linux-ng losetup">
|
---|
486 | <primary sortas="b-losetup">losetup</primary>
|
---|
487 | </indexterm>
|
---|
488 | </listitem>
|
---|
489 | </varlistentry>
|
---|
490 |
|
---|
491 | <varlistentry id="lscpu">
|
---|
492 | <term><command>lscpu</command></term>
|
---|
493 | <listitem>
|
---|
494 | <para>Prints CPU architechture information</para>
|
---|
495 | <indexterm zone="ch-system-util-linux-ng lscpu">
|
---|
496 | <primary sortas="b-lscpu">lscpu</primary>
|
---|
497 | </indexterm>
|
---|
498 | </listitem>
|
---|
499 | </varlistentry>
|
---|
500 |
|
---|
501 | <varlistentry id="mcookie">
|
---|
502 | <term><command>mcookie</command></term>
|
---|
503 | <listitem>
|
---|
504 | <para>Generates magic cookies (128-bit random hexadecimal numbers) for
|
---|
505 | <command>xauth</command></para>
|
---|
506 | <indexterm zone="ch-system-util-linux-ng mcookie">
|
---|
507 | <primary sortas="b-mcookie">mcookie</primary>
|
---|
508 | </indexterm>
|
---|
509 | </listitem>
|
---|
510 | </varlistentry>
|
---|
511 |
|
---|
512 | <varlistentry id="mkfs">
|
---|
513 | <term><command>mkfs</command></term>
|
---|
514 | <listitem>
|
---|
515 | <para>Builds a file system on a device (usually a hard disk
|
---|
516 | partition)</para>
|
---|
517 | <indexterm zone="ch-system-util-linux-ng mkfs">
|
---|
518 | <primary sortas="b-mkfs">mkfs</primary>
|
---|
519 | </indexterm>
|
---|
520 | </listitem>
|
---|
521 | </varlistentry>
|
---|
522 |
|
---|
523 | <varlistentry id="mkfs.bfs">
|
---|
524 | <term><command>mkfs.bfs</command></term>
|
---|
525 | <listitem>
|
---|
526 | <para>Creates a Santa Cruz Operations (SCO) bfs file system</para>
|
---|
527 | <indexterm zone="ch-system-util-linux-ng mkfs.bfs">
|
---|
528 | <primary sortas="b-mkfs.bfs">mkfs.bfs</primary>
|
---|
529 | </indexterm>
|
---|
530 | </listitem>
|
---|
531 | </varlistentry>
|
---|
532 |
|
---|
533 | <varlistentry id="mkfs.cramfs">
|
---|
534 | <term><command>mkfs.cramfs</command></term>
|
---|
535 | <listitem>
|
---|
536 | <para>Creates a cramfs file system</para>
|
---|
537 | <indexterm zone="ch-system-util-linux-ng mkfs.cramfs">
|
---|
538 | <primary sortas="b-mkfs.cramfs">mkfs.cramfs</primary>
|
---|
539 | </indexterm>
|
---|
540 | </listitem>
|
---|
541 | </varlistentry>
|
---|
542 |
|
---|
543 | <varlistentry id="mkfs.minix">
|
---|
544 | <term><command>mkfs.minix</command></term>
|
---|
545 | <listitem>
|
---|
546 | <para>Creates a Minix file system</para>
|
---|
547 | <indexterm zone="ch-system-util-linux-ng mkfs.minix">
|
---|
548 | <primary sortas="b-mkfs.minix">mkfs.minix</primary>
|
---|
549 | </indexterm>
|
---|
550 | </listitem>
|
---|
551 | </varlistentry>
|
---|
552 |
|
---|
553 | <varlistentry id="mkswap">
|
---|
554 | <term><command>mkswap</command></term>
|
---|
555 | <listitem>
|
---|
556 | <para>Initializes the given device or file to be used as a swap
|
---|
557 | area</para>
|
---|
558 | <indexterm zone="ch-system-util-linux-ng mkswap">
|
---|
559 | <primary sortas="b-mkswap">mkswap</primary>
|
---|
560 | </indexterm>
|
---|
561 | </listitem>
|
---|
562 | </varlistentry>
|
---|
563 |
|
---|
564 | <varlistentry id="more">
|
---|
565 | <term><command>more</command></term>
|
---|
566 | <listitem>
|
---|
567 | <para>A filter for paging through text one screen at a time</para>
|
---|
568 | <indexterm zone="ch-system-util-linux-ng more">
|
---|
569 | <primary sortas="b-more">more</primary>
|
---|
570 | </indexterm>
|
---|
571 | </listitem>
|
---|
572 | </varlistentry>
|
---|
573 |
|
---|
574 | <varlistentry id="mount">
|
---|
575 | <term><command>mount</command></term>
|
---|
576 | <listitem>
|
---|
577 | <para>Attaches the file system on the given device to a specified
|
---|
578 | directory in the file-system tree</para>
|
---|
579 | <indexterm zone="ch-system-util-linux-ng mount">
|
---|
580 | <primary sortas="b-mount">mount</primary>
|
---|
581 | </indexterm>
|
---|
582 | </listitem>
|
---|
583 | </varlistentry>
|
---|
584 |
|
---|
585 | <varlistentry id="namei">
|
---|
586 | <term><command>namei</command></term>
|
---|
587 | <listitem>
|
---|
588 | <para>Shows the symbolic links in the given pathnames</para>
|
---|
589 | <indexterm zone="ch-system-util-linux-ng namei">
|
---|
590 | <primary sortas="b-namei">namei</primary>
|
---|
591 | </indexterm>
|
---|
592 | </listitem>
|
---|
593 | </varlistentry>
|
---|
594 |
|
---|
595 | <varlistentry id="partx">
|
---|
596 | <term><command>partx</command></term>
|
---|
597 | <listitem>
|
---|
598 | <para>Tells the kernel about the presence and numbering of on-disk
|
---|
599 | partitions</para>
|
---|
600 | <indexterm zone="ch-system-util-linux-ng partx">
|
---|
601 | <primary sortas="b-partx">partx</primary>
|
---|
602 | </indexterm>
|
---|
603 | </listitem>
|
---|
604 | </varlistentry>
|
---|
605 |
|
---|
606 | <varlistentry id="pg">
|
---|
607 | <term><command>pg</command></term>
|
---|
608 | <listitem>
|
---|
609 | <para>Displays a text file one screen full at a time</para>
|
---|
610 | <indexterm zone="ch-system-util-linux-ng pg">
|
---|
611 | <primary sortas="b-pg">pg</primary>
|
---|
612 | </indexterm>
|
---|
613 | </listitem>
|
---|
614 | </varlistentry>
|
---|
615 |
|
---|
616 | <varlistentry id="pivot_root">
|
---|
617 | <term><command>pivot_root</command></term>
|
---|
618 | <listitem>
|
---|
619 | <para>Makes the given file system the new root file system of the
|
---|
620 | current process</para>
|
---|
621 | <indexterm zone="ch-system-util-linux-ng pivot_root">
|
---|
622 | <primary sortas="b-pivot_root">pivot_root</primary>
|
---|
623 | </indexterm>
|
---|
624 | </listitem>
|
---|
625 | </varlistentry>
|
---|
626 |
|
---|
627 | <varlistentry id="readprofile">
|
---|
628 | <term><command>readprofile</command></term>
|
---|
629 | <listitem>
|
---|
630 | <para>Reads kernel profiling information</para>
|
---|
631 | <indexterm zone="ch-system-util-linux-ng readprofile">
|
---|
632 | <primary sortas="b-readprofile">readprofile</primary>
|
---|
633 | </indexterm>
|
---|
634 | </listitem>
|
---|
635 | </varlistentry>
|
---|
636 |
|
---|
637 | <varlistentry id="rename">
|
---|
638 | <term><command>rename</command></term>
|
---|
639 | <listitem>
|
---|
640 | <para>Renames the given files, replacing a given string with
|
---|
641 | another</para>
|
---|
642 | <indexterm zone="ch-system-util-linux-ng rename">
|
---|
643 | <primary sortas="b-rename">rename</primary>
|
---|
644 | </indexterm>
|
---|
645 | </listitem>
|
---|
646 | </varlistentry>
|
---|
647 |
|
---|
648 | <varlistentry id="renice">
|
---|
649 | <term><command>renice</command></term>
|
---|
650 | <listitem>
|
---|
651 | <para>Alters the priority of running processes</para>
|
---|
652 | <indexterm zone="ch-system-util-linux-ng renice">
|
---|
653 | <primary sortas="b-renice">renice</primary>
|
---|
654 | </indexterm>
|
---|
655 | </listitem>
|
---|
656 | </varlistentry>
|
---|
657 |
|
---|
658 | <varlistentry id="rev">
|
---|
659 | <term><command>rev</command></term>
|
---|
660 | <listitem>
|
---|
661 | <para>Reverses the lines of a given file</para>
|
---|
662 | <indexterm zone="ch-system-util-linux-ng rev">
|
---|
663 | <primary sortas="b-rev">rev</primary>
|
---|
664 | </indexterm>
|
---|
665 | </listitem>
|
---|
666 | </varlistentry>
|
---|
667 |
|
---|
668 | <varlistentry id="rtcwake">
|
---|
669 | <term><command>rtcwake</command></term>
|
---|
670 | <listitem>
|
---|
671 | <para>Enters a system sleep state until a specified wakeup time</para>
|
---|
672 | <indexterm zone="ch-system-util-linux-ng rtcwake">
|
---|
673 | <primary sortas="b-rtcwake">rtcwake</primary>
|
---|
674 | </indexterm>
|
---|
675 | </listitem>
|
---|
676 | </varlistentry>
|
---|
677 |
|
---|
678 | <varlistentry id="script">
|
---|
679 | <term><command>script</command></term>
|
---|
680 | <listitem>
|
---|
681 | <para>Makes a typescript of a terminal session</para>
|
---|
682 | <indexterm zone="ch-system-util-linux-ng script">
|
---|
683 | <primary sortas="b-script">script</primary>
|
---|
684 | </indexterm>
|
---|
685 | </listitem>
|
---|
686 | </varlistentry>
|
---|
687 |
|
---|
688 | <varlistentry id="scriptreplay">
|
---|
689 | <term><command>scriptreplay</command></term>
|
---|
690 | <listitem>
|
---|
691 | <para>Plays back typescripts created by <command>script</command></para>
|
---|
692 | <indexterm zone="ch-system-util-linux-ng scriptreplay">
|
---|
693 | <primary sortas="b-scriptreplay">scriptreplay</primary>
|
---|
694 | </indexterm>
|
---|
695 | </listitem>
|
---|
696 | </varlistentry>
|
---|
697 |
|
---|
698 | <varlistentry id="setarch">
|
---|
699 | <term><command>setarch</command></term>
|
---|
700 | <listitem>
|
---|
701 | <para>Changes reported architecture in new program environment and
|
---|
702 | sets personality flags</para>
|
---|
703 | <indexterm zone="ch-system-util-linux-ng setarch">
|
---|
704 | <primary sortas="b-setarch">setarch</primary>
|
---|
705 | </indexterm>
|
---|
706 | </listitem>
|
---|
707 | </varlistentry>
|
---|
708 |
|
---|
709 | <varlistentry id="setsid">
|
---|
710 | <term><command>setsid</command></term>
|
---|
711 | <listitem>
|
---|
712 | <para>Runs the given program in a new session</para>
|
---|
713 | <indexterm zone="ch-system-util-linux-ng setsid">
|
---|
714 | <primary sortas="b-setsid">setsid</primary>
|
---|
715 | </indexterm>
|
---|
716 | </listitem>
|
---|
717 | </varlistentry>
|
---|
718 |
|
---|
719 | <varlistentry id="setterm">
|
---|
720 | <term><command>setterm</command></term>
|
---|
721 | <listitem>
|
---|
722 | <para>Sets terminal attributes</para>
|
---|
723 | <indexterm zone="ch-system-util-linux-ng setterm">
|
---|
724 | <primary sortas="b-setterm">setterm</primary>
|
---|
725 | </indexterm>
|
---|
726 | </listitem>
|
---|
727 | </varlistentry>
|
---|
728 |
|
---|
729 | <varlistentry id="sfdisk">
|
---|
730 | <term><command>sfdisk</command></term>
|
---|
731 | <listitem>
|
---|
732 | <para>A disk partition table manipulator</para>
|
---|
733 | <indexterm zone="ch-system-util-linux-ng sfdisk">
|
---|
734 | <primary sortas="b-sfdisk">sfdisk</primary>
|
---|
735 | </indexterm>
|
---|
736 | </listitem>
|
---|
737 | </varlistentry>
|
---|
738 |
|
---|
739 | <varlistentry id="swapoff">
|
---|
740 | <term><command>swapoff</command></term>
|
---|
741 | <listitem>
|
---|
742 | <para>Disables devices and files for paging and swapping</para>
|
---|
743 | <indexterm zone="ch-system-util-linux-ng swapoff">
|
---|
744 | <primary sortas="b-swapoff">swapoff</primary>
|
---|
745 | </indexterm>
|
---|
746 | </listitem>
|
---|
747 | </varlistentry>
|
---|
748 |
|
---|
749 | <varlistentry id="swapon">
|
---|
750 | <term><command>swapon</command></term>
|
---|
751 | <listitem>
|
---|
752 | <para>Enables devices and files for paging and swapping and
|
---|
753 | lists the devices and files currently in use</para>
|
---|
754 | <indexterm zone="ch-system-util-linux-ng swapon">
|
---|
755 | <primary sortas="b-swapon">swapon</primary>
|
---|
756 | </indexterm>
|
---|
757 | </listitem>
|
---|
758 | </varlistentry>
|
---|
759 |
|
---|
760 | <varlistentry id="tailf">
|
---|
761 | <term><command>tailf</command></term>
|
---|
762 | <listitem>
|
---|
763 | <para>Tracks the growth of a log file. Displays the last 10 lines
|
---|
764 | of a log file, then continues displaying any new entries in the
|
---|
765 | log file as they are created</para>
|
---|
766 | <indexterm zone="ch-system-util-linux-ng tailf">
|
---|
767 | <primary sortas="b-tailf">tailf</primary>
|
---|
768 | </indexterm>
|
---|
769 | </listitem>
|
---|
770 | </varlistentry>
|
---|
771 |
|
---|
772 | <varlistentry id="taskset">
|
---|
773 | <term><command>taskset</command></term>
|
---|
774 | <listitem>
|
---|
775 | <para>Retrieves or sets a process's CPU affinity</para>
|
---|
776 | <indexterm zone="ch-system-util-linux-ng taskset">
|
---|
777 | <primary sortas="b-taskset">taskset</primary>
|
---|
778 | </indexterm>
|
---|
779 | </listitem>
|
---|
780 | </varlistentry>
|
---|
781 |
|
---|
782 | <varlistentry id="tunelp">
|
---|
783 | <term><command>tunelp</command></term>
|
---|
784 | <listitem>
|
---|
785 | <para>Tunes the parameters of the line printer</para>
|
---|
786 | <indexterm zone="ch-system-util-linux-ng tunelp">
|
---|
787 | <primary sortas="b-tunelp">tunelp</primary>
|
---|
788 | </indexterm>
|
---|
789 | </listitem>
|
---|
790 | </varlistentry>
|
---|
791 |
|
---|
792 | <varlistentry id="ul">
|
---|
793 | <term><command>ul</command></term>
|
---|
794 | <listitem>
|
---|
795 | <para>A filter for translating underscores into escape sequences
|
---|
796 | indicating underlining for the terminal in use</para>
|
---|
797 | <indexterm zone="ch-system-util-linux-ng ul">
|
---|
798 | <primary sortas="b-ul">ul</primary>
|
---|
799 | </indexterm>
|
---|
800 | </listitem>
|
---|
801 | </varlistentry>
|
---|
802 |
|
---|
803 | <varlistentry id="umount">
|
---|
804 | <term><command>umount</command></term>
|
---|
805 | <listitem>
|
---|
806 | <para>Disconnects a file system from the system's file tree</para>
|
---|
807 | <indexterm zone="ch-system-util-linux-ng umount">
|
---|
808 | <primary sortas="b-umount">umount</primary>
|
---|
809 | </indexterm>
|
---|
810 | </listitem>
|
---|
811 | </varlistentry>
|
---|
812 |
|
---|
813 | <varlistentry id="whereis">
|
---|
814 | <term><command>whereis</command></term>
|
---|
815 | <listitem>
|
---|
816 | <para>Reports the location of the binary, source, and man page
|
---|
817 | for the given command</para>
|
---|
818 | <indexterm zone="ch-system-util-linux-ng whereis">
|
---|
819 | <primary sortas="b-whereis">whereis</primary>
|
---|
820 | </indexterm>
|
---|
821 | </listitem>
|
---|
822 | </varlistentry>
|
---|
823 |
|
---|
824 | <varlistentry id="write">
|
---|
825 | <term><command>write</command></term>
|
---|
826 | <listitem>
|
---|
827 | <para>Sends a message to the given user <emphasis>if</emphasis> that
|
---|
828 | user has not disabled receipt of such messages</para>
|
---|
829 | <indexterm zone="ch-system-util-linux-ng write">
|
---|
830 | <primary sortas="b-write">write</primary>
|
---|
831 | </indexterm>
|
---|
832 | </listitem>
|
---|
833 | </varlistentry>
|
---|
834 |
|
---|
835 | </variablelist>
|
---|
836 |
|
---|
837 | </sect2>
|
---|
838 |
|
---|
839 | </sect1>
|
---|