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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since e0e2e20 was c873165, checked in by William Harrington <kb0iic@…>, 11 years ago

Install documentation with versioned directory and add/update installed directories.

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