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

clfs-3.0.0-sysvinit sysvinit
Last change on this file since f11ffa6 was c2102b28, checked in by Chris Staub <chris@…>, 11 years ago

Improve consistency in package installation lists, mainly removing 'and'

Conflicts:

BOOK/final-system/common/attr.xml

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