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

systemd
Last change on this file since 8d55018 was 7cd7f99, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

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