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

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

Updates to installed program/directory info for several packages

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