source: BOOK/final-system/common/util-linux.xml@ ae26c99b

sysvinit
Last change on this file since ae26c99b was 8a76af3, checked in by William Harrington <kb0iic@…>, 10 years ago

Add ADJTIME_PATH variable during configure for setting the adjtime path rather than use a sed.

  • Property mode set to 100644
File size: 39.6 KB
Line 
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" role="wrap">
9 <?dbhtml filename="util-linux.html"?>
10
11 <title>Util-linux-&util-linux-version;</title>
12
13 <indexterm zone="ch-system-util-linux">
14 <primary sortas="a-Util-linux">Util-linux</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Util-linux 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" 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>mkdir -pv /var/lib/hwclock</userinput></screen>
36
37 </sect2>
38
39 <sect2 role="installation">
40 <title>Installation of Util-linux</title>
41
42 <para os="a">Prepare Util-linux for compilation:</para>
43
44<screen os="b"><userinput>./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
45 --enable-write --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen>
46
47 <variablelist os="c">
48 <title>The meaning of the configure options:</title>
49
50 <varlistentry>
51 <term><parameter>--enable-write</parameter></term>
52 <listitem>
53 <para>This option allows the <command>write</command> program to be
54 installed.</para>
55 </listitem>
56 </varlistentry>
57
58 </variablelist>
59
60 <para os="d">Compile the package:</para>
61
62<screen os="e"><userinput>make</userinput></screen>
63
64 <para os="f">To test the results, issue:</para>
65
66<screen os="f2"><userinput remap="test">chown -Rv nobody . &amp;&amp;
67su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
68
69 <para os="g">Install the package:</para>
70
71<screen os="h"><userinput>make install</userinput></screen>
72
73 <para os="i">Move the <command>logger</command> binary to
74 <filename class="directory">/bin</filename> as it is needed by the
75 CLFS Bootscripts package:</para>
76
77<screen os="j"><userinput>mv -v /usr/bin/logger /bin</userinput></screen>
78
79 </sect2>
80
81 <sect2 id="contents-util-linux" role="content">
82 <title>Contents of Util-linux</title>
83
84 <segmentedlist>
85 <segtitle>Installed programs</segtitle>
86 <segtitle>Installed libraries</segtitle>
87 <segtitle>Installed directories</segtitle>
88
89 <seglistitem>
90 <seg>addpart, agetty, blkdiscard, blkid, blockdev, cal, cfdisk, chcpu,
91 chrt, col, colcrt, colrm, column, ctrlaltdel, cytune, delpart,
92 dmesg, eject, fallocate, fdformat, fdisk, findfs, findmnt, flock,
93 fsck, fsck.cramfs, fsck.minix, fsfreeze, fstrim, getopt, hexdump,
94 hwclock, ionice, ipcmk, ipcrm, ipcs, isosize, kill, last, lastb (link
95 to last), ldattach, logger, look, losetup, lsblk, lscpu, lslocks,
96 mcookie, mesg, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap, more,
97 mount, mountpoint, namei, nologin, nsenter, partx, pg, pivot_root, prlimit,
98 raw, readprofile, rename, renice, resizepart, rev, rtcwake, script,
99 scriptreplay, setarch, setsid, setterm, sfdisk, sulogin, swaplabel,
100 swapoff, swapon, switch_root, tailf, taskset, ul, umount, unshare,
101 utmpdump, uuidd, uuidgen, wall, wdctl, whereis, wipefs, write</seg>
102 <seg>libblkid.[a,so], libmount.[a,so], libuuid.[a,so]</seg>
103 <seg>/usr/include/blkid, /usr/include/libmount, /usr/include/uuid,
104 /usr/share/bash-completion,
105 /usr/share/doc/util-linux-&util-linux-version;/getopt,
106 /var/lib/hwclock</seg>
107 </seglistitem>
108 </segmentedlist>
109
110 <variablelist>
111 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
112 <?dbfo list-presentation="list"?>
113 <?dbhtml list-presentation="table"?>
114
115 <varlistentry id="addpart">
116 <term><command>addpart</command></term>
117 <listitem>
118 <para>Informs the kernel of a new partition</para>
119 <indexterm zone="ch-system-util-linux addpart">
120 <primary sortas="b-addpart">addpart</primary>
121 </indexterm>
122 </listitem>
123 </varlistentry>
124
125 <varlistentry id="agetty">
126 <term><command>agetty</command></term>
127 <listitem>
128 <para>Opens a tty port, prompts for a login name,
129 and then invokes the <command>login</command> program</para>
130 <indexterm zone="ch-system-util-linux agetty">
131 <primary sortas="b-agetty">agetty</primary>
132 </indexterm>
133 </listitem>
134 </varlistentry>
135
136 <varlistentry id="blkdiscard">
137 <term><command>blkdiscard</command></term>
138 <listitem>
139 <para>Discards sectors on a device</para>
140 <indexterm zone="ch-system-util-linux blkdiscard">
141 <primary sortas="b-blkdiscard">blkdiscard</primary>
142 </indexterm>
143 </listitem>
144 </varlistentry>
145
146 <varlistentry id="blkid">
147 <term><command>blkid</command></term>
148 <listitem>
149 <para>A command line utility to locate and print block device
150 attributes</para>
151 <indexterm zone="ch-system-util-linux blkid">
152 <primary sortas="b-blkid">blkid</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
156
157 <varlistentry id="blockdev">
158 <term><command>blockdev</command></term>
159 <listitem>
160 <para>Allows users to call block device ioctls from the command
161 line</para>
162 <indexterm zone="ch-system-util-linux blockdev">
163 <primary sortas="b-blockdev">blockdev</primary>
164 </indexterm>
165 </listitem>
166 </varlistentry>
167
168 <varlistentry id="cal">
169 <term><command>cal</command></term>
170 <listitem>
171 <para>Displays a simple calendar</para>
172 <indexterm zone="ch-system-util-linux cal">
173 <primary sortas="b-cal">cal</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 <varlistentry id="cfdisk">
179 <term><command>cfdisk</command></term>
180 <listitem>
181 <para>Manipulates the partition table of the given device</para>
182 <indexterm zone="ch-system-util-linux cfdisk">
183 <primary sortas="b-cfdisk">cfdisk</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
188 <varlistentry id="chcpu">
189 <term><command>chcpu</command></term>
190 <listitem>
191 <para>Utility to configure CPUs</para>
192 <indexterm zone="ch-system-util-linux chcpu">
193 <primary sortas="b-chcpu">chcpu</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="chrt">
199 <term><command>chrt</command></term>
200 <listitem>
201 <para>Manipulates real-time attributes of a process</para>
202 <indexterm zone="ch-system-util-linux chrt">
203 <primary sortas="b-chrt">chrt</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="col">
209 <term><command>col</command></term>
210 <listitem>
211 <para>Filters out reverse line feeds</para>
212 <indexterm zone="ch-system-util-linux col">
213 <primary sortas="b-col">col</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry id="colcrt">
219 <term><command>colcrt</command></term>
220 <listitem>
221 <para>Filters <command>nroff</command> output for terminals
222 that lack some capabilities, such as overstriking and half-lines</para>
223 <indexterm zone="ch-system-util-linux colcrt">
224 <primary sortas="b-colcrt">colcrt</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry id="colrm">
230 <term><command>colrm</command></term>
231 <listitem>
232 <para>Filters out the given columns</para>
233 <indexterm zone="ch-system-util-linux colrm">
234 <primary sortas="b-colrm">colrm</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 <varlistentry id="column">
240 <term><command>column</command></term>
241 <listitem>
242 <para>Formats a given file into multiple columns</para>
243 <indexterm zone="ch-system-util-linux column">
244 <primary sortas="b-column">column</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
249 <varlistentry id="ctrlaltdel">
250 <term><command>ctrlaltdel</command></term>
251 <listitem>
252 <para>Sets the function of the Ctrl+Alt+Del key combination to a
253 hard or a soft reset</para>
254 <indexterm zone="ch-system-util-linux ctrlaltdel">
255 <primary sortas="b-ctrlaltdel">ctrlaltdel</primary>
256 </indexterm>
257 </listitem>
258 </varlistentry>
259
260 <varlistentry id="cytune">
261 <term><command>cytune</command></term>
262 <listitem>
263 <para>Tunes the parameters of the serial line drivers for
264 Cyclades cards</para>
265 <indexterm zone="ch-system-util-linux cytune">
266 <primary sortas="b-cytune">cytune</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
270
271 <varlistentry id="delpart">
272 <term><command>delpart</command></term>
273 <listitem>
274 <para>Asks the kernel to remove a partition</para>
275 <indexterm zone="ch-system-util-linux delpart">
276 <primary sortas="b-delpart">delpart</primary>
277 </indexterm>
278 </listitem>
279 </varlistentry>
280
281 <varlistentry id="dmesg">
282 <term><command>dmesg</command></term>
283 <listitem>
284 <para>Dumps the kernel boot messages</para>
285 <indexterm zone="ch-system-util-linux dmesg">
286 <primary sortas="b-dmesg">dmesg</primary>
287 </indexterm>
288 </listitem>
289 </varlistentry>
290
291 <varlistentry id="eject">
292 <term><command>eject</command></term>
293 <listitem>
294 <para>Eject removable media</para>
295 <indexterm zone="ch-system-util-linux eject">
296 <primary sortas="b-dmesg">eject</primary>
297 </indexterm>
298 </listitem>
299 </varlistentry>
300
301 <varlistentry id="fallocate">
302 <term><command>fallocate</command></term>
303 <listitem>
304 <para>Preallocates space to a file</para>
305 <indexterm zone="ch-system-util-linux fallocate">
306 <primary sortas="b-fallocate">fallocate</primary>
307 </indexterm>
308 </listitem>
309 </varlistentry>
310
311 <varlistentry id="fdformat">
312 <term><command>fdformat</command></term>
313 <listitem>
314 <para>Low-level formats a floppy disk</para>
315 <indexterm zone="ch-system-util-linux fdformat">
316 <primary sortas="b-fdformat">fdformat</primary>
317 </indexterm>
318 </listitem>
319 </varlistentry>
320
321 <varlistentry id="fdisk">
322 <term><command>fdisk</command></term>
323 <listitem>
324 <para>Manipulates the partition table of the given device</para>
325 <indexterm zone="ch-system-util-linux fdisk">
326 <primary sortas="b-fdisk">fdisk</primary>
327 </indexterm>
328 </listitem>
329 </varlistentry>
330
331 <varlistentry id="findfs">
332 <term><command>findfs</command></term>
333 <listitem>
334 <para>Finds a file system by label or Universally Unique Identifier
335 (UUID)</para>
336 <indexterm zone="ch-system-util-linux findfs">
337 <primary sortas="b-findfs">findfs</primary>
338 </indexterm>
339 </listitem>
340 </varlistentry>
341
342 <varlistentry id="findmnt">
343 <term><command>findmnt</command></term>
344 <listitem>
345 <para>Lists mounted filesystems or searches for a filesystem</para>
346 <indexterm zone="ch-system-util-linux findmnt">
347 <primary sortas="b-findmnt">findmnt</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 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 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 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 fsck.minix">
390 <primary sortas="b-fsck.minix">fsck.minix</primary>
391 </indexterm>
392 </listitem>
393 </varlistentry>
394
395 <varlistentry id="fsfreeze">
396 <term><command>fsfreeze</command></term>
397 <listitem>
398 <para>Suspends and resumes access to a filesystem</para>
399 <indexterm zone="ch-system-util-linux fsfreeze">
400 <primary sortas="b-fsfreeze">fsfreeze</primary>
401 </indexterm>
402 </listitem>
403 </varlistentry>
404
405 <varlistentry id="fstrim">
406 <term><command>fstrim</command></term>
407 <listitem>
408 <para>Discards unused blocks on a mounted filesystem</para>
409 <indexterm zone="ch-system-util-linux fstrim">
410 <primary sortas="b-fstrim">fstrim</primary>
411 </indexterm>
412 </listitem>
413 </varlistentry>
414
415 <varlistentry id="getopt">
416 <term><command>getopt</command></term>
417 <listitem>
418 <para>Parses options in the given command line</para>
419 <indexterm zone="ch-system-util-linux getopt">
420 <primary sortas="b-getopt">getopt</primary>
421 </indexterm>
422 </listitem>
423 </varlistentry>
424
425 <varlistentry id="hexdump">
426 <term><command>hexdump</command></term>
427 <listitem>
428 <para>Dumps the given file in hexadecimal or in another given
429 format</para>
430 <indexterm zone="ch-system-util-linux hexdump">
431 <primary sortas="b-hexdump">hexdump</primary>
432 </indexterm>
433 </listitem>
434 </varlistentry>
435
436 <varlistentry id="hwclock">
437 <term><command>hwclock</command></term>
438 <listitem>
439 <para>Reads or sets the system's hardware clock, also called
440 the Real-Time Clock (RTC) or Basic Input-Output System (BIOS)
441 clock</para>
442 <indexterm zone="ch-system-util-linux hwclock">
443 <primary sortas="b-hwclock">hwclock</primary>
444 </indexterm>
445 </listitem>
446 </varlistentry>
447
448 <varlistentry id="ionice">
449 <term><command>ionice</command></term>
450 <listitem>
451 <para>Gives and sets program I/O scheduling class and priority</para>
452 <indexterm zone="ch-system-util-linux ionice">
453 <primary sortas="b-ionice">ionice</primary>
454 </indexterm>
455 </listitem>
456 </varlistentry>
457
458 <varlistentry id="ipcmk">
459 <term><command>ipcmk</command></term>
460 <listitem>
461 <para>Creates various IPC resources</para>
462 <indexterm zone="ch-system-util-linux ipcmk">
463 <primary sortas="b-ipcmk">ipcmk</primary>
464 </indexterm>
465 </listitem>
466 </varlistentry>
467
468 <varlistentry id="ipcrm">
469 <term><command>ipcrm</command></term>
470 <listitem>
471 <para>Removes the given Inter-Process Communication (IPC) resource</para>
472 <indexterm zone="ch-system-util-linux ipcrm">
473 <primary sortas="b-ipcrm">ipcrm</primary>
474 </indexterm>
475 </listitem>
476 </varlistentry>
477
478 <varlistentry id="ipcs">
479 <term><command>ipcs</command></term>
480 <listitem>
481 <para>Provides IPC status information</para>
482 <indexterm zone="ch-system-util-linux ipcs">
483 <primary sortas="b-ipcs">ipcs</primary>
484 </indexterm>
485 </listitem>
486 </varlistentry>
487
488 <varlistentry id="isosize">
489 <term><command>isosize</command></term>
490 <listitem>
491 <para>Reports the size of an iso9660 file system</para>
492 <indexterm zone="ch-system-util-linux isosize">
493 <primary sortas="b-isosize">isosize</primary>
494 </indexterm>
495 </listitem>
496 </varlistentry>
497
498 <varlistentry id="kill">
499 <term><command>kill</command></term>
500 <listitem>
501 <para>Send a signal to a process</para>
502 <indexterm zone="ch-system-util-linux kill">
503 <primary sortas="b-kill">kill</primary>
504 </indexterm>
505 </listitem>
506 </varlistentry>
507
508 <varlistentry id="last">
509 <term><command>last</command></term>
510 <listitem>
511 <para>Shows which users last logged in (and out), searching back
512 through the <filename>/var/log/wtmp</filename> file; it also shows
513 system boots, shutdowns, and run-level changes</para>
514 <indexterm zone="ch-system-util-linux last">
515 <primary sortas="b-last">last</primary>
516 </indexterm>
517 </listitem>
518 </varlistentry>
519
520 <varlistentry id="lastb">
521 <term><command>lastb</command></term>
522 <listitem>
523 <para>Shows the failed login attempts, as logged in
524 <filename>/var/log/btmp</filename></para>
525 <indexterm zone="ch-system-util-linux lastb">
526 <primary sortas="b-lastb">lastb</primary>
527 </indexterm>
528 </listitem>
529 </varlistentry>
530
531 <varlistentry id="ldattach">
532 <term><command>ldattach</command></term>
533 <listitem>
534 <para>Attaches a line discipline to a serial line</para>
535 <indexterm zone="ch-system-util-linux ldattach">
536 <primary sortas="b-ldattach">ldattach</primary>
537 </indexterm>
538 </listitem>
539 </varlistentry>
540
541 <varlistentry id="logger">
542 <term><command>logger</command></term>
543 <listitem>
544 <para>Enters the given message into the system log</para>
545 <indexterm zone="ch-system-util-linux logger">
546 <primary sortas="b-logger">logger</primary>
547 </indexterm>
548 </listitem>
549 </varlistentry>
550
551 <varlistentry id="look">
552 <term><command>look</command></term>
553 <listitem>
554 <para>Displays lines that begin with the given string</para>
555 <indexterm zone="ch-system-util-linux look">
556 <primary sortas="b-look">look</primary>
557 </indexterm>
558 </listitem>
559 </varlistentry>
560
561 <varlistentry id="losetup">
562 <term><command>losetup</command></term>
563 <listitem>
564 <para>Sets up and controls loop devices</para>
565 <indexterm zone="ch-system-util-linux losetup">
566 <primary sortas="b-losetup">losetup</primary>
567 </indexterm>
568 </listitem>
569 </varlistentry>
570
571 <varlistentry id="lsblk">
572 <term><command>lsblk</command></term>
573 <listitem>
574 <para>Prints information about block devices</para>
575 <indexterm zone="ch-system-util-linux lsblk">
576 <primary sortas="b-lsblk">lsblk</primary>
577 </indexterm>
578 </listitem>
579 </varlistentry>
580
581 <varlistentry id="lscpu">
582 <term><command>lscpu</command></term>
583 <listitem>
584 <para>Prints CPU architecture information</para>
585 <indexterm zone="ch-system-util-linux lscpu">
586 <primary sortas="b-lscpu">lscpu</primary>
587 </indexterm>
588 </listitem>
589 </varlistentry>
590
591 <varlistentry id="lslocks">
592 <term><command>lslocks</command></term>
593 <listitem>
594 <para>Lists local system locks</para>
595 <indexterm zone="ch-system-util-linux lslocks">
596 <primary sortas="b-lslocks">lslocks</primary>
597 </indexterm>
598 </listitem>
599 </varlistentry>
600
601 <varlistentry id="mcookie">
602 <term><command>mcookie</command></term>
603 <listitem>
604 <para>Generates magic cookies (128-bit random hexadecimal numbers) for
605 <command>xauth</command></para>
606 <indexterm zone="ch-system-util-linux mcookie">
607 <primary sortas="b-mcookie">mcookie</primary>
608 </indexterm>
609 </listitem>
610 </varlistentry>
611
612 <varlistentry id="mesg">
613 <term><command>mesg</command></term>
614 <listitem>
615 <para>Controls whether other users can send messages to the current
616 user's terminal</para>
617 <indexterm zone="ch-system-util-linux mesg">
618 <primary sortas="b-mesg">mesg</primary>
619 </indexterm>
620 </listitem>
621 </varlistentry>
622
623 <varlistentry id="mkfs">
624 <term><command>mkfs</command></term>
625 <listitem>
626 <para>Builds a file system on a device (usually a hard disk
627 partition)</para>
628 <indexterm zone="ch-system-util-linux mkfs">
629 <primary sortas="b-mkfs">mkfs</primary>
630 </indexterm>
631 </listitem>
632 </varlistentry>
633
634 <varlistentry id="mkfs.bfs">
635 <term><command>mkfs.bfs</command></term>
636 <listitem>
637 <para>Creates a Santa Cruz Operations (SCO) bfs file system</para>
638 <indexterm zone="ch-system-util-linux mkfs.bfs">
639 <primary sortas="b-mkfs.bfs">mkfs.bfs</primary>
640 </indexterm>
641 </listitem>
642 </varlistentry>
643
644 <varlistentry id="mkfs.cramfs">
645 <term><command>mkfs.cramfs</command></term>
646 <listitem>
647 <para>Creates a cramfs file system</para>
648 <indexterm zone="ch-system-util-linux mkfs.cramfs">
649 <primary sortas="b-mkfs.cramfs">mkfs.cramfs</primary>
650 </indexterm>
651 </listitem>
652 </varlistentry>
653
654 <varlistentry id="mkfs.minix">
655 <term><command>mkfs.minix</command></term>
656 <listitem>
657 <para>Creates a Minix file system</para>
658 <indexterm zone="ch-system-util-linux mkfs.minix">
659 <primary sortas="b-mkfs.minix">mkfs.minix</primary>
660 </indexterm>
661 </listitem>
662 </varlistentry>
663
664 <varlistentry id="mkswap">
665 <term><command>mkswap</command></term>
666 <listitem>
667 <para>Initializes the given device or file to be used as a swap
668 area</para>
669 <indexterm zone="ch-system-util-linux mkswap">
670 <primary sortas="b-mkswap">mkswap</primary>
671 </indexterm>
672 </listitem>
673 </varlistentry>
674
675 <varlistentry id="more">
676 <term><command>more</command></term>
677 <listitem>
678 <para>A filter for paging through text one screen at a time</para>
679 <indexterm zone="ch-system-util-linux more">
680 <primary sortas="b-more">more</primary>
681 </indexterm>
682 </listitem>
683 </varlistentry>
684
685 <varlistentry id="mount">
686 <term><command>mount</command></term>
687 <listitem>
688 <para>Attaches the file system on the given device to a specified
689 directory in the file-system tree</para>
690 <indexterm zone="ch-system-util-linux mount">
691 <primary sortas="b-mount">mount</primary>
692 </indexterm>
693 </listitem>
694 </varlistentry>
695
696 <varlistentry id="mountpoint">
697 <term><command>mountpoint</command></term>
698 <listitem>
699 <para>Tells you whether or not a directory is a mount point.</para>
700 <indexterm zone="ch-system-util-linux mountpoint">
701 <primary sortas="b-mountpoint">mountpoint</primary>
702 </indexterm>
703 </listitem>
704 </varlistentry>
705
706 <varlistentry id="namei">
707 <term><command>namei</command></term>
708 <listitem>
709 <para>Shows the symbolic links in the given pathnames</para>
710 <indexterm zone="ch-system-util-linux namei">
711 <primary sortas="b-namei">namei</primary>
712 </indexterm>
713 </listitem>
714 </varlistentry>
715
716 <varlistentry id="nologin">
717 <term><command>nologin</command></term>
718 <listitem>
719 <para>Displays a message that an account is not available. Designed
720 to be used as the default shell for accounts that have been
721 disabled</para>
722 <indexterm zone="ch-system-util-linux nologin">
723 <primary sortas="b-nologin">nologin</primary>
724 </indexterm>
725 </listitem>
726 </varlistentry>
727
728 <varlistentry id="nsenter">
729 <term><command>nsenter</command></term>
730 <listitem>
731 <para>Runs a program with namespaces of other processes</para>
732 <indexterm zone="ch-system-util-linux nsenter">
733 <primary sortas="b-nsenter">nsenter</primary>
734 </indexterm>
735 </listitem>
736 </varlistentry>
737
738 <varlistentry id="partx">
739 <term><command>partx</command></term>
740 <listitem>
741 <para>Tells the kernel about the presence and numbering of on-disk
742 partitions</para>
743 <indexterm zone="ch-system-util-linux partx">
744 <primary sortas="b-partx">partx</primary>
745 </indexterm>
746 </listitem>
747 </varlistentry>
748
749 <varlistentry id="pg">
750 <term><command>pg</command></term>
751 <listitem>
752 <para>Displays a text file one screen full at a time</para>
753 <indexterm zone="ch-system-util-linux pg">
754 <primary sortas="b-pg">pg</primary>
755 </indexterm>
756 </listitem>
757 </varlistentry>
758
759 <varlistentry id="pivot_root">
760 <term><command>pivot_root</command></term>
761 <listitem>
762 <para>Makes the given file system the new root file system of the
763 current process</para>
764 <indexterm zone="ch-system-util-linux pivot_root">
765 <primary sortas="b-pivot_root">pivot_root</primary>
766 </indexterm>
767 </listitem>
768 </varlistentry>
769
770 <varlistentry id="prlimit">
771 <term><command>prlimit</command></term>
772 <listitem>
773 <para>Gets and sets a process' resource limits</para>
774 <indexterm zone="ch-system-util-linux prlimit">
775 <primary sortas="b-prlimit">prlimit</primary>
776 </indexterm>
777 </listitem>
778 </varlistentry>
779
780 <varlistentry id="raw">
781 <term><command>raw</command></term>
782 <listitem>
783 <para>Binds a Linux raw character device to a block device</para>
784 <indexterm zone="ch-system-util-linux raw">
785 <primary sortas="b-raw">raw</primary>
786 </indexterm>
787 </listitem>
788 </varlistentry>
789
790 <varlistentry id="readprofile">
791 <term><command>readprofile</command></term>
792 <listitem>
793 <para>Reads kernel profiling information</para>
794 <indexterm zone="ch-system-util-linux readprofile">
795 <primary sortas="b-readprofile">readprofile</primary>
796 </indexterm>
797 </listitem>
798 </varlistentry>
799
800 <varlistentry id="rename">
801 <term><command>rename</command></term>
802 <listitem>
803 <para>Renames the given files, replacing a given string with
804 another</para>
805 <indexterm zone="ch-system-util-linux rename">
806 <primary sortas="b-rename">rename</primary>
807 </indexterm>
808 </listitem>
809 </varlistentry>
810
811 <varlistentry id="renice">
812 <term><command>renice</command></term>
813 <listitem>
814 <para>Alters the priority of running processes</para>
815 <indexterm zone="ch-system-util-linux renice">
816 <primary sortas="b-renice">renice</primary>
817 </indexterm>
818 </listitem>
819 </varlistentry>
820
821 <varlistentry id="resizepart">
822 <term><command>resizepart</command></term>
823 <listitem>
824 <para>Asks the Linux kernel to resize a partition</para>
825 <indexterm zone="ch-system-util-linux resizepart">
826 <primary sortas="b-resizepart">resizepart</primary>
827 </indexterm>
828 </listitem>
829 </varlistentry>
830
831 <varlistentry id="rev">
832 <term><command>rev</command></term>
833 <listitem>
834 <para>Reverses the lines of a given file</para>
835 <indexterm zone="ch-system-util-linux rev">
836 <primary sortas="b-rev">rev</primary>
837 </indexterm>
838 </listitem>
839 </varlistentry>
840
841 <varlistentry id="rtcwake">
842 <term><command>rtcwake</command></term>
843 <listitem>
844 <para>Enters a system sleep state until a specified wakeup time</para>
845 <indexterm zone="ch-system-util-linux rtcwake">
846 <primary sortas="b-rtcwake">rtcwake</primary>
847 </indexterm>
848 </listitem>
849 </varlistentry>
850
851 <varlistentry id="script">
852 <term><command>script</command></term>
853 <listitem>
854 <para>Makes a typescript of a terminal session</para>
855 <indexterm zone="ch-system-util-linux script">
856 <primary sortas="b-script">script</primary>
857 </indexterm>
858 </listitem>
859 </varlistentry>
860
861 <varlistentry id="scriptreplay">
862 <term><command>scriptreplay</command></term>
863 <listitem>
864 <para>Plays back typescripts created by <command>script</command></para>
865 <indexterm zone="ch-system-util-linux scriptreplay">
866 <primary sortas="b-scriptreplay">scriptreplay</primary>
867 </indexterm>
868 </listitem>
869 </varlistentry>
870
871 <varlistentry id="setarch">
872 <term><command>setarch</command></term>
873 <listitem>
874 <para>Changes reported architecture in new program environment and
875 sets personality flags</para>
876 <indexterm zone="ch-system-util-linux setarch">
877 <primary sortas="b-setarch">setarch</primary>
878 </indexterm>
879 </listitem>
880 </varlistentry>
881
882 <varlistentry id="setsid">
883 <term><command>setsid</command></term>
884 <listitem>
885 <para>Runs the given program in a new session</para>
886 <indexterm zone="ch-system-util-linux setsid">
887 <primary sortas="b-setsid">setsid</primary>
888 </indexterm>
889 </listitem>
890 </varlistentry>
891
892 <varlistentry id="setterm">
893 <term><command>setterm</command></term>
894 <listitem>
895 <para>Sets terminal attributes</para>
896 <indexterm zone="ch-system-util-linux setterm">
897 <primary sortas="b-setterm">setterm</primary>
898 </indexterm>
899 </listitem>
900 </varlistentry>
901
902 <varlistentry id="sfdisk">
903 <term><command>sfdisk</command></term>
904 <listitem>
905 <para>A disk partition table manipulator</para>
906 <indexterm zone="ch-system-util-linux sfdisk">
907 <primary sortas="b-sfdisk">sfdisk</primary>
908 </indexterm>
909 </listitem>
910 </varlistentry>
911
912 <varlistentry id="sulogin">
913 <term><command>sulogin</command></term>
914 <listitem>
915 <para>Allows <emphasis>root</emphasis> to log in; it is normally
916 invoked by <command>init</command> when the system goes into single
917 user mode</para>
918 <indexterm zone="ch-system-util-linux sulogin">
919 <primary sortas="b-sulogin">sulogin</primary>
920 </indexterm>
921 </listitem>
922 </varlistentry>
923
924 <varlistentry id="swaplabel">
925 <term><command>swaplabel</command></term>
926 <listitem>
927 <para>Prints or changes the label or UUID of a swap area</para>
928 <indexterm zone="ch-system-util-linux swaplabel">
929 <primary sortas="b-swaplabel">swaplabel</primary>
930 </indexterm>
931 </listitem>
932 </varlistentry>
933
934 <varlistentry id="swapoff">
935 <term><command>swapoff</command></term>
936 <listitem>
937 <para>Disables devices and files for paging and swapping</para>
938 <indexterm zone="ch-system-util-linux swapoff">
939 <primary sortas="b-swapoff">swapoff</primary>
940 </indexterm>
941 </listitem>
942 </varlistentry>
943
944 <varlistentry id="swapon">
945 <term><command>swapon</command></term>
946 <listitem>
947 <para>Enables devices and files for paging and swapping and
948 lists the devices and files currently in use</para>
949 <indexterm zone="ch-system-util-linux swapon">
950 <primary sortas="b-swapon">swapon</primary>
951 </indexterm>
952 </listitem>
953 </varlistentry>
954
955 <varlistentry id="switch_root">
956 <term><command>switch_root</command></term>
957 <listitem>
958 <para>Switches to another filesystem as the root of the mount tree</para>
959 <indexterm zone="ch-system-util-linux switch_root">
960 <primary sortas="b-switch_root">switch_root</primary>
961 </indexterm>
962 </listitem>
963 </varlistentry>
964
965 <varlistentry id="tailf">
966 <term><command>tailf</command></term>
967 <listitem>
968 <para>Tracks the growth of a log file. Displays the last 10 lines
969 of a log file, then continues displaying any new entries in the
970 log file as they are created</para>
971 <indexterm zone="ch-system-util-linux tailf">
972 <primary sortas="b-tailf">tailf</primary>
973 </indexterm>
974 </listitem>
975 </varlistentry>
976
977 <varlistentry id="taskset">
978 <term><command>taskset</command></term>
979 <listitem>
980 <para>Retrieves or sets a process's CPU affinity</para>
981 <indexterm zone="ch-system-util-linux taskset">
982 <primary sortas="b-taskset">taskset</primary>
983 </indexterm>
984 </listitem>
985 </varlistentry>
986
987 <varlistentry id="ul">
988 <term><command>ul</command></term>
989 <listitem>
990 <para>A filter for translating underscores into escape sequences
991 indicating underlining for the terminal in use</para>
992 <indexterm zone="ch-system-util-linux ul">
993 <primary sortas="b-ul">ul</primary>
994 </indexterm>
995 </listitem>
996 </varlistentry>
997
998 <varlistentry id="umount">
999 <term><command>umount</command></term>
1000 <listitem>
1001 <para>Disconnects a file system from the system's file tree</para>
1002 <indexterm zone="ch-system-util-linux umount">
1003 <primary sortas="b-umount">umount</primary>
1004 </indexterm>
1005 </listitem>
1006 </varlistentry>
1007
1008 <varlistentry id="unshare">
1009 <term><command>unshare</command></term>
1010 <listitem>
1011 <para>Runs a program with some namespaces unshared from parent</para>
1012 <indexterm zone="ch-system-util-linux unshare">
1013 <primary sortas="b-unshare">unshare</primary>
1014 </indexterm>
1015 </listitem>
1016 </varlistentry>
1017
1018 <varlistentry id="utmpdump">
1019 <term><command>utmpdump</command></term>
1020 <listitem>
1021 <para>Displays the content of the given login file in a more
1022 user-friendly format</para>
1023 <indexterm zone="ch-system-util-linux utmpdump">
1024 <primary sortas="b-utmpdump">utmpdump</primary>
1025 </indexterm>
1026 </listitem>
1027 </varlistentry>
1028
1029 <varlistentry id="uuidd">
1030 <term><command>uuidd</command></term>
1031 <listitem>
1032 <para>A daemon used by the UUID library to generate time-based
1033 UUIDs in a secure and guranteed-unique fashion.</para>
1034 <indexterm zone="ch-system-util-linux uuidd">
1035 <primary sortas="b-uuidd">uuidd</primary>
1036 </indexterm>
1037 </listitem>
1038 </varlistentry>
1039
1040 <varlistentry id="uuidgen">
1041 <term><command>uuidgen</command></term>
1042 <listitem>
1043 <para>Creates new UUIDs. Each new UUID can reasonably be considered
1044 unique among all UUIDs created, on the local system and on other
1045 systems, in the past and in the future</para>
1046 <indexterm zone="ch-system-util-linux uuidgen">
1047 <primary sortas="b-uuidgen">uuidgen</primary>
1048 </indexterm>
1049 </listitem>
1050 </varlistentry>
1051
1052 <varlistentry id="wall">
1053 <term><command>wall</command></term>
1054 <listitem>
1055 <para>Writes a message to all logged-in users</para>
1056 <indexterm zone="ch-system-util-linux wall">
1057 <primary sortas="b-wall">wall</primary>
1058 </indexterm>
1059 </listitem>
1060 </varlistentry>
1061
1062 <varlistentry id="wdctl">
1063 <term><command>wdctl</command></term>
1064 <listitem>
1065 <para>Show hardware watchdog status</para>
1066 <indexterm zone="ch-system-util-linux wdctl">
1067 <primary sortas="b-uuidgen">wdctl</primary>
1068 </indexterm>
1069 </listitem>
1070 </varlistentry>
1071
1072 <varlistentry id="whereis">
1073 <term><command>whereis</command></term>
1074 <listitem>
1075 <para>Reports the location of the binary, source, and man page
1076 for the given command</para>
1077 <indexterm zone="ch-system-util-linux whereis">
1078 <primary sortas="b-whereis">whereis</primary>
1079 </indexterm>
1080 </listitem>
1081 </varlistentry>
1082
1083 <varlistentry id="wipefs">
1084 <term><command>wipefs</command></term>
1085 <listitem>
1086 <para>Wipes a filesystem signature from a device</para>
1087 <indexterm zone="ch-system-util-linux wipefs">
1088 <primary sortas="b-wipefs">wipefs</primary>
1089 </indexterm>
1090 </listitem>
1091 </varlistentry>
1092
1093 <varlistentry id="write">
1094 <term><command>write</command></term>
1095 <listitem>
1096 <para>Sends a message to the given user <emphasis>if</emphasis> that
1097 user has not disabled receipt of such messages</para>
1098 <indexterm zone="ch-system-util-linux write">
1099 <primary sortas="b-write">write</primary>
1100 </indexterm>
1101 </listitem>
1102 </varlistentry>
1103
1104 <varlistentry id="libblkid">
1105 <term><filename class="libraryfile">libblkid</filename></term>
1106 <listitem>
1107 <para>Contains routines for device identification and token
1108 extraction</para>
1109 <indexterm zone="ch-system-util-linux libblkid">
1110 <primary sortas="c-libblkid">libblkid</primary>
1111 </indexterm>
1112 </listitem>
1113 </varlistentry>
1114
1115 <varlistentry id="libmount">
1116 <term><filename class="libraryfile">libmount</filename></term>
1117 <listitem>
1118 <para>Contains routines for parsing the
1119 <filename>/etc/fstab</filename>, <filename>/etc/mtab</filename>,
1120 and <filename>/proc/self/mountinfo</filename> files, managing
1121 <filename>/etc/mtab</filename>, and configuring various mount
1122 options</para>
1123 <indexterm zone="ch-system-util-linux libmount">
1124 <primary sortas="c-libmount">libmount</primary>
1125 </indexterm>
1126 </listitem>
1127 </varlistentry>
1128
1129 <varlistentry id="libuuid">
1130 <term><filename class="libraryfile">libuuid</filename></term>
1131 <listitem>
1132 <para>Contains routines for generating unique identifiers for objects
1133 that may be accessible beyond the local system</para>
1134 <indexterm zone="ch-system-util-linux libuuid">
1135 <primary sortas="c-libuuid">libuuid</primary>
1136 </indexterm>
1137 </listitem>
1138 </varlistentry>
1139
1140 </variablelist>
1141
1142 </sect2>
1143
1144</sect1>
Note: See TracBrowser for help on using the repository browser.