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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 358ffc2 was 0a6ea84, checked in by Chris Staub <chris@…>, 11 years ago

use nologin from util-linux instead of shadow

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