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