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

systemd
Last change on this file since 6dc0453 was 352dce0, checked in by William Harrington <kb0iic@…>, 7 years ago

Shadow nologin should be installed and any remnants of Util-linux nologin should be removed. It is done.

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