source: chapter08/util-linux.xml@ 7fe99c2

11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 arm ml-11.0 multilib trunk xry111/clfs-ng xry111/glibc-2.34 xry111/lfs-next xry111/tester-nohack
Last change on this file since 7fe99c2 was 7fe99c2, checked in by Bruce Dubbs <bdubbs@…>, 13 months ago

Package Updates.
Update to iana-etc-20210611.
Update to vim-8.2.3001.
Update to util-linux-2.37.
Update to meson-0.58.1.
Update to linux-5.12.10.
Update to m4-1.4.19.
Update to grub-2.06.

  • Property mode set to 100644
File size: 45.8 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 <sect1info condition="script">
12 <productname>util-linux</productname>
13 <productnumber>&util-linux-version;</productnumber>
14 <address>&util-linux-url;</address>
15 </sect1info>
16
17 <title>Util-linux-&util-linux-version;</title>
18
19 <indexterm zone="ch-system-util-linux">
20 <primary sortas="a-Util-linux">Util-linux</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The Util-linux package contains miscellaneous utility programs.
27 Among them are utilities for handling file systems, consoles, partitions,
28 and messages.</para>
29
30 <segmentedlist>
31 <segtitle>&buildtime;</segtitle>
32 <segtitle>&diskspace;</segtitle>
33
34 <seglistitem>
35 <seg>&util-linux-fin-sbu;</seg>
36 <seg>&util-linux-fin-du;</seg>
37 </seglistitem>
38 </segmentedlist>
39
40 </sect2>
41
42 <sect2 role="installation">
43 <title>Installation of Util-linux</title>
44
45 <para>Prepare Util-linux for compilation:</para>
46
47<screen revision="sysv"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
48 --libdir=/usr/lib \
49 --docdir=/usr/share/doc/util-linux-&util-linux-version; \
50 --disable-chfn-chsh \
51 --disable-login \
52 --disable-nologin \
53 --disable-su \
54 --disable-setpriv \
55 --disable-runuser \
56 --disable-pylibmount \
57 --disable-static \
58 --without-python \
59 --without-systemd \
60 --without-systemdsystemunitdir \
61 runstatedir=/run</userinput></screen>
62
63<screen revision="systemd"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
64 --libdir=/usr/lib \
65 --docdir=/usr/share/doc/util-linux-&util-linux-version; \
66 --disable-chfn-chsh \
67 --disable-login \
68 --disable-nologin \
69 --disable-su \
70 --disable-setpriv \
71 --disable-runuser \
72 --disable-pylibmount \
73 --disable-static \
74 --without-python \
75 runstatedir=/run</userinput></screen>
76
77 <para>The --disable and --without options prevent warnings about
78 building components that require packages not in LFS or are
79 inconsistent with programs installed by other packages.</para>
80
81 <para>Compile the package:</para>
82
83<screen><userinput remap="make">make</userinput></screen>
84
85 <para>If desired, run the test suite as a non-root user:</para>
86
87 <warning><para>Running the test suite as the
88 <systemitem class="username">root</systemitem> user can be harmful to
89 your system. To run it, the CONFIG_SCSI_DEBUG option for the kernel must
90 be available in the currently running system and must be built as a
91 module. Building it into the kernel will prevent booting. For complete
92 coverage, other BLFS packages must be installed. If desired, this test can
93 be run after rebooting into the completed LFS system and running:</para>
94
95<screen role="nodump"><userinput>bash tests/run.sh --srcdir=$PWD --builddir=$PWD</userinput></screen>
96 </warning>
97
98<screen><userinput remap="test">chown -Rv tester .
99su tester -c "make -k check"</userinput></screen>
100
101 <para>Install the package:</para>
102
103<screen><userinput remap="install">make install</userinput></screen>
104
105 <para>Finally, install the man pages:</para>
106
107<screen><userinput remap="install">tar -xf ../util-linux-man-pages-&util-linux-version;.tar.xz \
108--directory /usr/share/man --strip-components=1</userinput></screen>
109
110 </sect2>
111
112 <sect2 id="contents-utillinux" role="content">
113 <title>Contents of Util-linux</title>
114
115 <segmentedlist>
116 <segtitle>Installed programs</segtitle>
117 <segtitle>Installed libraries</segtitle>
118 <segtitle>Installed directories</segtitle>
119
120 <seglistitem>
121 <seg>addpart, agetty, blkdiscard, blkid, blkzone, blockdev, cal, cfdisk, chcpu,
122 chmem, choom, chrt, col, colcrt, colrm, column, ctrlaltdel, delpart, dmesg,
123 eject, fallocate, fdformat, fdisk, fincore, findfs, findmnt, flock, fsck,
124 fsck.cramfs, fsck.minix, fsfreeze, fstrim, getopt, hexdump, hwclock,
125 i386, ionice, ipcmk, ipcrm, ipcs, isosize, kill, last, lastb (link to
126 last), ldattach, linux32, linux64, logger, look, losetup, lsblk, lscpu,
127 lsipc, lslocks, lslogins, lsmem, lsns, mcookie, mesg, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap,
128 more, mount, mountpoint, namei, nsenter, partx, pivot_root, prlimit, raw,
129 readprofile, rename, renice, resizepart, rev, rfkill, rtcwake, script,
130 scriptreplay, setarch, setsid, setterm, sfdisk, sulogin, swaplabel,
131 swapoff (link to swapon), swapon, switch_root, taskset, ul,
132 umount, uname26, unshare, utmpdump, uuidd, uuidgen, uuidparse, wall, wdctl, whereis,
133 wipefs, x86_64, and zramctl</seg>
134 <seg>libblkid.so, libfdisk.so, libmount.so,
135 libsmartcols.so, and libuuid.so</seg>
136 <seg>/usr/include/blkid,
137 /usr/include/libfdisk,
138 /usr/include/libmount,
139 /usr/include/libsmartcols,
140 /usr/include/uuid,
141 /usr/share/doc/util-linux-&util-linux-version;,
142 and /var/lib/hwclock</seg>
143 </seglistitem>
144 </segmentedlist>
145
146 <variablelist>
147 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
148 <?dbfo list-presentation="list"?>
149 <?dbhtml list-presentation="table"?>
150
151 <varlistentry id="addpart">
152 <term><command>addpart</command></term>
153 <listitem>
154 <para>Informs the Linux kernel of new partitions</para>
155 <indexterm zone="ch-system-util-linux addpart">
156 <primary sortas="b-addpart">addpart</primary>
157 </indexterm>
158 </listitem>
159 </varlistentry>
160
161 <varlistentry id="agetty">
162 <term><command>agetty</command></term>
163 <listitem>
164 <para>Opens a tty port, prompts for a login name,
165 and then invokes the <command>login</command> program</para>
166 <indexterm zone="ch-system-util-linux agetty">
167 <primary sortas="b-agetty">agetty</primary>
168 </indexterm>
169 </listitem>
170 </varlistentry>
171
172 <varlistentry id="blkdiscard">
173 <term><command>blkdiscard</command></term>
174 <listitem>
175 <para>Discards sectors on a device</para>
176 <indexterm zone="ch-system-util-linux blkdiscard">
177 <primary sortas="b-blkdiscard">blkdiscard</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 <varlistentry id="blkid">
183 <term><command>blkid</command></term>
184 <listitem>
185 <para>A command line utility to locate and print block device
186 attributes</para>
187 <indexterm zone="ch-system-util-linux blkid">
188 <primary sortas="b-blkid">blkid</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 <varlistentry id="blkzone">
194 <term><command>blkzone</command></term>
195 <listitem>
196 <para>Runs zone command on the given block device</para>
197 <indexterm zone="ch-system-util-linux blkzone">
198 <primary sortas="b-blkzone">blkzone</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="blockdev">
204 <term><command>blockdev</command></term>
205 <listitem>
206 <para>Allows users to call block device ioctls from the command
207 line</para>
208 <indexterm zone="ch-system-util-linux blockdev">
209 <primary sortas="b-blockdev">blockdev</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="cal">
215 <term><command>cal</command></term>
216 <listitem>
217 <para>Displays a simple calendar</para>
218 <indexterm zone="ch-system-util-linux cal">
219 <primary sortas="b-cal">cal</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="cfdisk">
225 <term><command>cfdisk</command></term>
226 <listitem>
227 <para>Manipulates the partition table of the given device</para>
228 <indexterm zone="ch-system-util-linux cfdisk">
229 <primary sortas="b-cfdisk">cfdisk</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 <varlistentry id="chcpu">
235 <term><command>chcpu</command></term>
236 <listitem>
237 <para>Modifies the state of CPUs</para>
238 <indexterm zone="ch-system-util-linux chcpu">
239 <primary sortas="b-chcpu">chcpu</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
243
244 <varlistentry id="chmem">
245 <term><command>chmem</command></term>
246 <listitem>
247 <para>Configures memory</para>
248 <indexterm zone="ch-system-util-linux chmem">
249 <primary sortas="b-chmem">chmem</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 <varlistentry id="choom">
255 <term><command>choom</command></term>
256 <listitem>
257 <para>Displays and adjusts OOM-killer score</para>
258 <indexterm zone="ch-system-util-linux choom">
259 <primary sortas="b-choom">choom</primary>
260 </indexterm>
261 </listitem>
262 </varlistentry>
263
264 <varlistentry id="chrt">
265 <term><command>chrt</command></term>
266 <listitem>
267 <para>Manipulates real-time attributes of a process</para>
268 <indexterm zone="ch-system-util-linux chrt">
269 <primary sortas="b-chrt">chrt</primary>
270 </indexterm>
271 </listitem>
272 </varlistentry>
273
274 <varlistentry id="col">
275 <term><command>col</command></term>
276 <listitem>
277 <para>Filters out reverse line feeds</para>
278 <indexterm zone="ch-system-util-linux col">
279 <primary sortas="b-col">col</primary>
280 </indexterm>
281 </listitem>
282 </varlistentry>
283
284 <varlistentry id="colcrt">
285 <term><command>colcrt</command></term>
286 <listitem>
287 <para>Filters <command>nroff</command> output for terminals
288 that lack some capabilities, such as overstriking and half-lines</para>
289 <indexterm zone="ch-system-util-linux colcrt">
290 <primary sortas="b-colcrt">colcrt</primary>
291 </indexterm>
292 </listitem>
293 </varlistentry>
294
295 <varlistentry id="colrm">
296 <term><command>colrm</command></term>
297 <listitem>
298 <para>Filters out the given columns</para>
299 <indexterm zone="ch-system-util-linux colrm">
300 <primary sortas="b-colrm">colrm</primary>
301 </indexterm>
302 </listitem>
303 </varlistentry>
304
305 <varlistentry id="column">
306 <term><command>column</command></term>
307 <listitem>
308 <para>Formats a given file into multiple columns</para>
309 <indexterm zone="ch-system-util-linux column">
310 <primary sortas="b-column">column</primary>
311 </indexterm>
312 </listitem>
313 </varlistentry>
314
315 <varlistentry id="ctrlaltdel">
316 <term><command>ctrlaltdel</command></term>
317 <listitem>
318 <para>Sets the function of the Ctrl+Alt+Del key combination to a
319 hard or a soft reset</para>
320 <indexterm zone="ch-system-util-linux ctrlaltdel">
321 <primary sortas="b-ctrlaltdel">ctrlaltdel</primary>
322 </indexterm>
323 </listitem>
324 </varlistentry>
325
326 <varlistentry id="delpart">
327 <term><command>delpart</command></term>
328 <listitem>
329 <para>Asks the Linux kernel to remove a partition</para>
330 <indexterm zone="ch-system-util-linux delpart">
331 <primary sortas="b-delpart">delpart</primary>
332 </indexterm>
333 </listitem>
334 </varlistentry>
335
336 <varlistentry id="dmesg">
337 <term><command>dmesg</command></term>
338 <listitem>
339 <para>Dumps the kernel boot messages</para>
340 <indexterm zone="ch-system-util-linux dmesg">
341 <primary sortas="b-dmesg">dmesg</primary>
342 </indexterm>
343 </listitem>
344 </varlistentry>
345
346 <varlistentry id="eject">
347 <term><command>eject</command></term>
348 <listitem>
349 <para>Ejects removable media</para>
350 <indexterm zone="ch-system-util-linux eject">
351 <primary sortas="b-eject">eject</primary>
352 </indexterm>
353 </listitem>
354 </varlistentry>
355
356 <varlistentry id="fallocate">
357 <term><command>fallocate</command></term>
358 <listitem>
359 <para>Preallocates space to a file</para>
360 <indexterm zone="ch-system-util-linux fallocate">
361 <primary sortas="b-fallocate">fallocate</primary>
362 </indexterm>
363 </listitem>
364 </varlistentry>
365
366 <varlistentry id="fdformat">
367 <term><command>fdformat</command></term>
368 <listitem>
369 <para>Low-level formats a floppy disk</para>
370 <indexterm zone="ch-system-util-linux fdformat">
371 <primary sortas="b-fdformat">fdformat</primary>
372 </indexterm>
373 </listitem>
374 </varlistentry>
375
376 <varlistentry id="fdisk">
377 <term><command>fdisk</command></term>
378 <listitem>
379 <para>Manipulates the partition table of the given device</para>
380 <indexterm zone="ch-system-util-linux fdisk">
381 <primary sortas="b-fdisk">fdisk</primary>
382 </indexterm>
383 </listitem>
384 </varlistentry>
385
386 <varlistentry id="fincore">
387 <term><command>fincore</command></term>
388 <listitem>
389 <para>Counts pages of file contents in core</para>
390 <indexterm zone="ch-system-util-linux fincore">
391 <primary sortas="b-fincore">fincore</primary>
392 </indexterm>
393 </listitem>
394 </varlistentry>
395
396 <varlistentry id="findfs">
397 <term><command>findfs</command></term>
398 <listitem>
399 <para>Finds a file system by label or Universally Unique Identifier
400 (UUID)</para>
401 <indexterm zone="ch-system-util-linux findfs">
402 <primary sortas="b-findfs">findfs</primary>
403 </indexterm>
404 </listitem>
405 </varlistentry>
406
407 <varlistentry id="findmnt">
408 <term><command>findmnt</command></term>
409 <listitem>
410 <para>Is a command line interface to the libmount library
411 for work with mountinfo, fstab and mtab files</para>
412 <indexterm zone="ch-system-util-linux findmnt">
413 <primary sortas="b-findmnt">findmnt</primary>
414 </indexterm>
415 </listitem>
416 </varlistentry>
417
418 <varlistentry id="flock">
419 <term><command>flock</command></term>
420 <listitem>
421 <para>Acquires a file lock and then executes a command with the lock
422 held</para>
423 <indexterm zone="ch-system-util-linux flock">
424 <primary sortas="b-flock">flock</primary>
425 </indexterm>
426 </listitem>
427 </varlistentry>
428
429 <varlistentry id="fsck">
430 <term><command>fsck</command></term>
431 <listitem>
432 <para>Is used to check, and optionally repair, file systems</para>
433 <indexterm zone="ch-system-util-linux fsck">
434 <primary sortas="b-fsck">fsck</primary>
435 </indexterm>
436 </listitem>
437 </varlistentry>
438
439 <varlistentry id="fsck.cramfs">
440 <term><command>fsck.cramfs</command></term>
441 <listitem>
442 <para>Performs a consistency check on the Cramfs file system on the
443 given device</para>
444 <indexterm zone="ch-system-util-linux fsck.cramfs">
445 <primary sortas="b-fsck.cramfs">fsck.cramfs</primary>
446 </indexterm>
447 </listitem>
448 </varlistentry>
449
450 <varlistentry id="fsck.minix">
451 <term><command>fsck.minix</command></term>
452 <listitem>
453 <para>Performs a consistency check on the Minix file system on the
454 given device</para>
455 <indexterm zone="ch-system-util-linux fsck.minix">
456 <primary sortas="b-fsck.minix">fsck.minix</primary>
457 </indexterm>
458 </listitem>
459 </varlistentry>
460
461 <varlistentry id="fsfreeze">
462 <term><command>fsfreeze</command></term>
463 <listitem>
464 <para>Is a very simple wrapper around FIFREEZE/FITHAW ioctl
465 kernel driver operations</para>
466 <indexterm zone="ch-system-util-linux fsfreeze">
467 <primary sortas="b-fsfreeze">fsfreeze</primary>
468 </indexterm>
469 </listitem>
470 </varlistentry>
471
472 <varlistentry id="fstrim">
473 <term><command>fstrim</command></term>
474 <listitem>
475 <para>Discards unused blocks on a mounted filesystem</para>
476 <indexterm zone="ch-system-util-linux fstrim">
477 <primary sortas="b-fstrim">fstrim</primary>
478 </indexterm>
479 </listitem>
480 </varlistentry>
481
482 <varlistentry id="getopt">
483 <term><command>getopt</command></term>
484 <listitem>
485 <para>Parses options in the given command line</para>
486 <indexterm zone="ch-system-util-linux getopt">
487 <primary sortas="b-getopt">getopt</primary>
488 </indexterm>
489 </listitem>
490 </varlistentry>
491
492 <varlistentry id="hexdump">
493 <term><command>hexdump</command></term>
494 <listitem>
495 <para>Dumps the given file in hexadecimal or in another given
496 format</para>
497 <indexterm zone="ch-system-util-linux hexdump">
498 <primary sortas="b-hexdump">hexdump</primary>
499 </indexterm>
500 </listitem>
501 </varlistentry>
502
503 <varlistentry id="hwclock">
504 <term><command>hwclock</command></term>
505 <listitem>
506 <para>Reads or sets the system's hardware clock, also called
507 the Real-Time Clock (RTC) or Basic Input-Output System (BIOS)
508 clock</para>
509 <indexterm zone="ch-system-util-linux hwclock">
510 <primary sortas="b-hwclock">hwclock</primary>
511 </indexterm>
512 </listitem>
513 </varlistentry>
514
515 <varlistentry id="i386">
516 <term><command>i386</command></term>
517 <listitem>
518 <para>A symbolic link to setarch</para>
519 <indexterm zone="ch-system-util-linux i386">
520 <primary sortas="b-i386">i386</primary>
521 </indexterm>
522 </listitem>
523 </varlistentry>
524
525 <varlistentry id="ionice">
526 <term><command>ionice</command></term>
527 <listitem>
528 <para>Gets or sets the io scheduling class and priority for a program</para>
529 <indexterm zone="ch-system-util-linux ionice">
530 <primary sortas="b-ionice">ionice</primary>
531 </indexterm>
532 </listitem>
533 </varlistentry>
534
535 <varlistentry id="ipcmk">
536 <term><command>ipcmk</command></term>
537 <listitem>
538 <para>Creates various IPC resources</para>
539 <indexterm zone="ch-system-util-linux ipcmk">
540 <primary sortas="b-ipcmk">ipcmk</primary>
541 </indexterm>
542 </listitem>
543 </varlistentry>
544
545 <varlistentry id="ipcrm">
546 <term><command>ipcrm</command></term>
547 <listitem>
548 <para>Removes the given Inter-Process Communication (IPC) resource</para>
549 <indexterm zone="ch-system-util-linux ipcrm">
550 <primary sortas="b-ipcrm">ipcrm</primary>
551 </indexterm>
552 </listitem>
553 </varlistentry>
554
555 <varlistentry id="ipcs">
556 <term><command>ipcs</command></term>
557 <listitem>
558 <para>Provides IPC status information</para>
559 <indexterm zone="ch-system-util-linux ipcs">
560 <primary sortas="b-ipcs">ipcs</primary>
561 </indexterm>
562 </listitem>
563 </varlistentry>
564
565 <varlistentry id="isosize">
566 <term><command>isosize</command></term>
567 <listitem>
568 <para>Reports the size of an iso9660 file system</para>
569 <indexterm zone="ch-system-util-linux isosize">
570 <primary sortas="b-isosize">isosize</primary>
571 </indexterm>
572 </listitem>
573 </varlistentry>
574
575 <varlistentry id="kill">
576 <term><command>kill</command></term>
577 <listitem>
578 <para>Sends signals to processes</para>
579 <indexterm zone="ch-system-util-linux kill">
580 <primary sortas="b-kill">kill</primary>
581 </indexterm>
582 </listitem>
583 </varlistentry>
584
585 <varlistentry id="last">
586 <term><command>last</command></term>
587 <listitem>
588 <para>Shows which users last logged in (and out), searching back
589 through the <filename>/var/log/wtmp</filename> file; it also shows
590 system boots, shutdowns, and run-level changes</para>
591 <indexterm zone="ch-system-util-linux last">
592 <primary sortas="b-last">last</primary>
593 </indexterm>
594 </listitem>
595 </varlistentry>
596
597 <varlistentry id="lastb">
598 <term><command>lastb</command></term>
599 <listitem>
600 <para>Shows the failed login attempts, as logged in
601 <filename>/var/log/btmp</filename></para>
602 <indexterm zone="ch-system-util-linux lastb">
603 <primary sortas="b-lastb">lastb</primary>
604 </indexterm>
605 </listitem>
606 </varlistentry>
607
608 <varlistentry id="ldattach">
609 <term><command>ldattach</command></term>
610 <listitem>
611 <para>Attaches a line discipline to a serial line</para>
612 <indexterm zone="ch-system-util-linux ldattach">
613 <primary sortas="b-ldattach">ldattach</primary>
614 </indexterm>
615 </listitem>
616 </varlistentry>
617
618 <varlistentry id="linux32">
619 <term><command>linux32</command></term>
620 <listitem>
621 <para>A symbolic link to setarch</para>
622 <indexterm zone="ch-system-util-linux linux32">
623 <primary sortas="b-linux32">linux32</primary>
624 </indexterm>
625 </listitem>
626 </varlistentry>
627
628 <varlistentry id="linux64">
629 <term><command>linux64</command></term>
630 <listitem>
631 <para>A symbolic link to setarch</para>
632 <indexterm zone="ch-system-util-linux linux64">
633 <primary sortas="b-linux64">linux64</primary>
634 </indexterm>
635 </listitem>
636 </varlistentry>
637
638 <varlistentry id="logger">
639 <term><command>logger</command></term>
640 <listitem>
641 <para>Enters the given message into the system log</para>
642 <indexterm zone="ch-system-util-linux logger">
643 <primary sortas="b-logger">logger</primary>
644 </indexterm>
645 </listitem>
646 </varlistentry>
647
648 <varlistentry id="look">
649 <term><command>look</command></term>
650 <listitem>
651 <para>Displays lines that begin with the given string</para>
652 <indexterm zone="ch-system-util-linux look">
653 <primary sortas="b-look">look</primary>
654 </indexterm>
655 </listitem>
656 </varlistentry>
657
658 <varlistentry id="losetup">
659 <term><command>losetup</command></term>
660 <listitem>
661 <para>Sets up and controls loop devices</para>
662 <indexterm zone="ch-system-util-linux losetup">
663 <primary sortas="b-losetup">losetup</primary>
664 </indexterm>
665 </listitem>
666 </varlistentry>
667
668 <varlistentry id="lsblk">
669 <term><command>lsblk</command></term>
670 <listitem>
671 <para>Lists information about all or selected block devices in
672 a tree-like format</para>
673 <indexterm zone="ch-system-util-linux lsblk">
674 <primary sortas="b-lsblk">lsblk</primary>
675 </indexterm>
676 </listitem>
677 </varlistentry>
678
679 <varlistentry id="lscpu">
680 <term><command>lscpu</command></term>
681 <listitem>
682 <para>Prints CPU architecture information</para>
683 <indexterm zone="ch-system-util-linux lscpu">
684 <primary sortas="b-lscpu">lscpu</primary>
685 </indexterm>
686 </listitem>
687 </varlistentry>
688
689 <varlistentry id="lsipc">
690 <term><command>lsipc</command></term>
691 <listitem>
692 <para>Prints information on IPC facilities currently employed
693 in the system</para>
694 <indexterm zone="ch-system-util-linux lsipc">
695 <primary sortas="b-lsipc">lsipc</primary>
696 </indexterm>
697 </listitem>
698 </varlistentry>
699
700 <varlistentry id="lslocks">
701 <term><command>lslocks</command></term>
702 <listitem>
703 <para>Lists local system locks</para>
704 <indexterm zone="ch-system-util-linux lslocks">
705 <primary sortas="b-lslocks">lslocks</primary>
706 </indexterm>
707 </listitem>
708 </varlistentry>
709
710 <varlistentry id="lslogins">
711 <term><command>lslogins</command></term>
712 <listitem>
713 <para>Lists information about users, groups and system accounts</para>
714 <indexterm zone="ch-system-util-linux lslogins">
715 <primary sortas="b-lslogins">lslogins</primary>
716 </indexterm>
717 </listitem>
718 </varlistentry>
719
720 <varlistentry id="lsmem">
721 <term><command>lsmem</command></term>
722 <listitem>
723 <para>Lists the ranges of available memory with their online
724 status</para>
725 <indexterm zone="ch-system-util-linux lsmem">
726 <primary sortas="b-lsmem">lsmem</primary>
727 </indexterm>
728 </listitem>
729 </varlistentry>
730
731 <varlistentry id="lsns">
732 <term><command>lsns</command></term>
733 <listitem>
734 <para>Lists namespaces</para>
735 <indexterm zone="ch-system-util-linux lsns">
736 <primary sortas="b-lsns">lsns</primary>
737 </indexterm>
738 </listitem>
739 </varlistentry>
740
741 <varlistentry id="mcookie">
742 <term><command>mcookie</command></term>
743 <listitem>
744 <para>Generates magic cookies (128-bit random hexadecimal numbers) for
745 <command>xauth</command></para>
746 <indexterm zone="ch-system-util-linux mcookie">
747 <primary sortas="b-mcookie">mcookie</primary>
748 </indexterm>
749 </listitem>
750 </varlistentry>
751
752 <varlistentry id="mesg">
753 <term><command>mesg</command></term>
754 <listitem>
755 <para>Controls whether other users can send messages to the current
756 user's terminal</para>
757 <indexterm zone="ch-system-util-linux mesg">
758 <primary sortas="b-mesg">mesg</primary>
759 </indexterm>
760 </listitem>
761 </varlistentry>
762
763 <varlistentry id="mkfs">
764 <term><command>mkfs</command></term>
765 <listitem>
766 <para>Builds a file system on a device (usually a hard disk
767 partition)</para>
768 <indexterm zone="ch-system-util-linux mkfs">
769 <primary sortas="b-mkfs">mkfs</primary>
770 </indexterm>
771 </listitem>
772 </varlistentry>
773
774 <varlistentry id="mkfs.bfs">
775 <term><command>mkfs.bfs</command></term>
776 <listitem>
777 <para>Creates a Santa Cruz Operations (SCO) bfs file system</para>
778 <indexterm zone="ch-system-util-linux mkfs.bfs">
779 <primary sortas="b-mkfs.bfs">mkfs.bfs</primary>
780 </indexterm>
781 </listitem>
782 </varlistentry>
783
784 <varlistentry id="mkfs.cramfs">
785 <term><command>mkfs.cramfs</command></term>
786 <listitem>
787 <para>Creates a cramfs file system</para>
788 <indexterm zone="ch-system-util-linux mkfs.cramfs">
789 <primary sortas="b-mkfs.cramfs">mkfs.cramfs</primary>
790 </indexterm>
791 </listitem>
792 </varlistentry>
793
794 <varlistentry id="mkfs.minix">
795 <term><command>mkfs.minix</command></term>
796 <listitem>
797 <para>Creates a Minix file system</para>
798 <indexterm zone="ch-system-util-linux mkfs.minix">
799 <primary sortas="b-mkfs.minix">mkfs.minix</primary>
800 </indexterm>
801 </listitem>
802 </varlistentry>
803
804 <varlistentry id="mkswap">
805 <term><command>mkswap</command></term>
806 <listitem>
807 <para>Initializes the given device or file to be used as a swap
808 area</para>
809 <indexterm zone="ch-system-util-linux mkswap">
810 <primary sortas="b-mkswap">mkswap</primary>
811 </indexterm>
812 </listitem>
813 </varlistentry>
814
815 <varlistentry id="more">
816 <term><command>more</command></term>
817 <listitem>
818 <para>A filter for paging through text one screen at a time</para>
819 <indexterm zone="ch-system-util-linux more">
820 <primary sortas="b-more">more</primary>
821 </indexterm>
822 </listitem>
823 </varlistentry>
824
825 <varlistentry id="mount">
826 <term><command>mount</command></term>
827 <listitem>
828 <para>Attaches the file system on the given device to a specified
829 directory in the file-system tree</para>
830 <indexterm zone="ch-system-util-linux mount">
831 <primary sortas="b-mount">mount</primary>
832 </indexterm>
833 </listitem>
834 </varlistentry>
835
836 <varlistentry id="mountpoint">
837 <term><command>mountpoint</command></term>
838 <listitem>
839 <para>Checks if the directory is a mountpoint</para>
840 <indexterm zone="ch-system-util-linux mountpoint">
841 <primary sortas="b-mountpoint">mountpoint</primary>
842 </indexterm>
843 </listitem>
844 </varlistentry>
845
846 <varlistentry id="namei">
847 <term><command>namei</command></term>
848 <listitem>
849 <para>Shows the symbolic links in the given pathnames</para>
850 <indexterm zone="ch-system-util-linux namei">
851 <primary sortas="b-namei">namei</primary>
852 </indexterm>
853 </listitem>
854 </varlistentry>
855
856 <varlistentry id="nsenter">
857 <term><command>nsenter</command></term>
858 <listitem>
859 <para>Runs a program with namespaces of other processes</para>
860 <indexterm zone="ch-system-util-linux nsenter">
861 <primary sortas="b-nsenter">nsenter</primary>
862 </indexterm>
863 </listitem>
864 </varlistentry>
865
866 <varlistentry id="partx">
867 <term><command>partx</command></term>
868 <listitem>
869 <para>Tells the kernel about the presence and numbering of on-disk
870 partitions</para>
871 <indexterm zone="ch-system-util-linux partx">
872 <primary sortas="b-partx">partx</primary>
873 </indexterm>
874 </listitem>
875 </varlistentry>
876
877 <varlistentry id="pivot_root">
878 <term><command>pivot_root</command></term>
879 <listitem>
880 <para>Makes the given file system the new root file system of the
881 current process</para>
882 <indexterm zone="ch-system-util-linux pivot_root">
883 <primary sortas="b-pivot_root">pivot_root</primary>
884 </indexterm>
885 </listitem>
886 </varlistentry>
887
888 <varlistentry id="prlimit">
889 <term><command>prlimit</command></term>
890 <listitem>
891 <para>Get and set a process' resource limits</para>
892 <indexterm zone="ch-system-util-linux prlimit">
893 <primary sortas="b-prlimit">prlimit</primary>
894 </indexterm>
895 </listitem>
896 </varlistentry>
897
898 <varlistentry id="raw">
899 <term><command>raw</command></term>
900 <listitem>
901 <para>Bind a Linux raw character device to a block device</para>
902 <indexterm zone="ch-system-util-linux raw">
903 <primary sortas="b-raw">raw</primary>
904 </indexterm>
905 </listitem>
906 </varlistentry>
907
908 <varlistentry id="readprofile">
909 <term><command>readprofile</command></term>
910 <listitem>
911 <para>Reads kernel profiling information</para>
912 <indexterm zone="ch-system-util-linux readprofile">
913 <primary sortas="b-readprofile">readprofile</primary>
914 </indexterm>
915 </listitem>
916 </varlistentry>
917
918 <varlistentry id="rename">
919 <term><command>rename</command></term>
920 <listitem>
921 <para>Renames the given files, replacing a given string with
922 another</para>
923 <indexterm zone="ch-system-util-linux rename">
924 <primary sortas="b-rename">rename</primary>
925 </indexterm>
926 </listitem>
927 </varlistentry>
928
929 <varlistentry id="renice">
930 <term><command>renice</command></term>
931 <listitem>
932 <para>Alters the priority of running processes</para>
933 <indexterm zone="ch-system-util-linux renice">
934 <primary sortas="b-renice">renice</primary>
935 </indexterm>
936 </listitem>
937 </varlistentry>
938
939 <varlistentry id="resizepart">
940 <term><command>resizepart</command></term>
941 <listitem>
942 <para>Asks the Linux kernel to resize a partition</para>
943 <indexterm zone="ch-system-util-linux resizepart">
944 <primary sortas="b-resizepart">resizepart</primary>
945 </indexterm>
946 </listitem>
947 </varlistentry>
948
949 <varlistentry id="rev">
950 <term><command>rev</command></term>
951 <listitem>
952 <para>Reverses the lines of a given file</para>
953 <indexterm zone="ch-system-util-linux rev">
954 <primary sortas="b-rev">rev</primary>
955 </indexterm>
956 </listitem>
957 </varlistentry>
958
959 <varlistentry id="rkfill">
960 <term><command>rkfill</command></term>
961 <listitem>
962 <para>Tool for enabling and disabling wireless devices</para>
963 <indexterm zone="ch-system-util-linux rkfill">
964 <primary sortas="b-rkfill">rkfill</primary>
965 </indexterm>
966 </listitem>
967 </varlistentry>
968
969 <varlistentry id="rtcwake">
970 <term><command>rtcwake</command></term>
971 <listitem>
972 <para>Used to enter a system sleep state until specified wakeup
973 time</para>
974 <indexterm zone="ch-system-util-linux rtcwake">
975 <primary sortas="b-rtcwake">rtcwake</primary>
976 </indexterm>
977 </listitem>
978 </varlistentry>
979
980 <varlistentry id="script">
981 <term><command>script</command></term>
982 <listitem>
983 <para>Makes a typescript of a terminal session</para>
984 <indexterm zone="ch-system-util-linux script">
985 <primary sortas="b-script">script</primary>
986 </indexterm>
987 </listitem>
988 </varlistentry>
989
990 <varlistentry id="scriptreplay">
991 <term><command>scriptreplay</command></term>
992 <listitem>
993 <para>Plays back typescripts using timing information</para>
994 <indexterm zone="ch-system-util-linux scriptreplay">
995 <primary sortas="b-scriptreplay">scriptreplay</primary>
996 </indexterm>
997 </listitem>
998 </varlistentry>
999
1000 <varlistentry id="setarch">
1001 <term><command>setarch</command></term>
1002 <listitem>
1003 <para>Changes reported architecture in a new program environment and
1004 sets personality flags</para>
1005 <indexterm zone="ch-system-util-linux setarch">
1006 <primary sortas="b-setarch">setarch</primary>
1007 </indexterm>
1008 </listitem>
1009 </varlistentry>
1010
1011 <varlistentry id="setsid">
1012 <term><command>setsid</command></term>
1013 <listitem>
1014 <para>Runs the given program in a new session</para>
1015 <indexterm zone="ch-system-util-linux setsid">
1016 <primary sortas="b-setsid">setsid</primary>
1017 </indexterm>
1018 </listitem>
1019 </varlistentry>
1020
1021 <varlistentry id="setterm">
1022 <term><command>setterm</command></term>
1023 <listitem>
1024 <para>Sets terminal attributes</para>
1025 <indexterm zone="ch-system-util-linux setterm">
1026 <primary sortas="b-setterm">setterm</primary>
1027 </indexterm>
1028 </listitem>
1029 </varlistentry>
1030
1031 <varlistentry id="sfdisk">
1032 <term><command>sfdisk</command></term>
1033 <listitem>
1034 <para>A disk partition table manipulator</para>
1035 <indexterm zone="ch-system-util-linux sfdisk">
1036 <primary sortas="b-sfdisk">sfdisk</primary>
1037 </indexterm>
1038 </listitem>
1039 </varlistentry>
1040
1041 <varlistentry id="sulogin">
1042 <term><command>sulogin</command></term>
1043 <listitem>
1044 <para>Allows <systemitem class="username">root</systemitem> to log in;
1045 it is normally invoked by <command>init</command> when the system goes
1046 into single user mode</para>
1047 <indexterm zone="ch-system-util-linux sulogin">
1048 <primary sortas="b-sulogin">sulogin</primary>
1049 </indexterm>
1050 </listitem>
1051 </varlistentry>
1052
1053 <varlistentry id="swaplabel">
1054 <term><command>swaplabel</command></term>
1055 <listitem>
1056 <para>Allows to change swaparea UUID and label</para>
1057 <indexterm zone="ch-system-util-linux swaplabel">
1058 <primary sortas="b-swaplabel">swaplabel</primary>
1059 </indexterm>
1060 </listitem>
1061 </varlistentry>
1062
1063 <varlistentry id="swapoff">
1064 <term><command>swapoff</command></term>
1065 <listitem>
1066 <para>Disables devices and files for paging and swapping</para>
1067 <indexterm zone="ch-system-util-linux swapoff">
1068 <primary sortas="b-swapoff">swapoff</primary>
1069 </indexterm>
1070 </listitem>
1071 </varlistentry>
1072
1073 <varlistentry id="swapon">
1074 <term><command>swapon</command></term>
1075 <listitem>
1076 <para>Enables devices and files for paging and swapping and
1077 lists the devices and files currently in use</para>
1078 <indexterm zone="ch-system-util-linux swapon">
1079 <primary sortas="b-swapon">swapon</primary>
1080 </indexterm>
1081 </listitem>
1082 </varlistentry>
1083
1084 <varlistentry id="switch_root">
1085 <term><command>switch_root</command></term>
1086 <listitem>
1087 <para>Switches to another filesystem as the root of the mount tree</para>
1088 <indexterm zone="ch-system-util-linux switch_root">
1089 <primary sortas="b-switch_root">switch_root</primary>
1090 </indexterm>
1091 </listitem>
1092 </varlistentry>
1093
1094 <varlistentry id="tailf">
1095 <term><command>tailf</command></term>
1096 <listitem>
1097 <para>Tracks the growth of a log file; displays the last 10 lines
1098 of a log file, then continues displaying any new entries in the
1099 log file as they are created</para>
1100 <indexterm zone="ch-system-util-linux tailf">
1101 <primary sortas="b-tailf">tailf</primary>
1102 </indexterm>
1103 </listitem>
1104 </varlistentry>
1105
1106 <varlistentry id="taskset">
1107 <term><command>taskset</command></term>
1108 <listitem>
1109 <para>Retrieves or sets a process' CPU affinity</para>
1110 <indexterm zone="ch-system-util-linux taskset">
1111 <primary sortas="b-taskset">taskset</primary>
1112 </indexterm>
1113 </listitem>
1114 </varlistentry>
1115
1116 <varlistentry id="ul">
1117 <term><command>ul</command></term>
1118 <listitem>
1119 <para>A filter for translating underscores into escape sequences
1120 indicating underlining for the terminal in use</para>
1121 <indexterm zone="ch-system-util-linux ul">
1122 <primary sortas="b-ul">ul</primary>
1123 </indexterm>
1124 </listitem>
1125 </varlistentry>
1126
1127 <varlistentry id="umount">
1128 <term><command>umount</command></term>
1129 <listitem>
1130 <para>Disconnects a file system from the system's file tree</para>
1131 <indexterm zone="ch-system-util-linux umount">
1132 <primary sortas="b-umount">umount</primary>
1133 </indexterm>
1134 </listitem>
1135 </varlistentry>
1136
1137 <varlistentry id="uname26">
1138 <term><command>uname26</command></term>
1139 <listitem>
1140 <para>A symbolic link to setarch</para>
1141 <indexterm zone="ch-system-util-linux uname26">
1142 <primary sortas="b-uname26">uname26</primary>
1143 </indexterm>
1144 </listitem>
1145 </varlistentry>
1146
1147 <varlistentry id="unshare">
1148 <term><command>unshare</command></term>
1149 <listitem>
1150 <para>Runs a program with some namespaces unshared from parent</para>
1151 <indexterm zone="ch-system-util-linux unshare">
1152 <primary sortas="b-unshare">unshare</primary>
1153 </indexterm>
1154 </listitem>
1155 </varlistentry>
1156
1157 <varlistentry id="utmpdump">
1158 <term><command>utmpdump</command></term>
1159 <listitem>
1160 <para>Displays the content of the given login file in a more
1161 user-friendly format</para>
1162 <indexterm zone="ch-system-util-linux utmpdump">
1163 <primary sortas="b-utmpdump">utmpdump</primary>
1164 </indexterm>
1165 </listitem>
1166 </varlistentry>
1167
1168 <varlistentry id="uuidd">
1169 <term><command>uuidd</command></term>
1170 <listitem>
1171 <para>A daemon used by the UUID library to generate time-based
1172 UUIDs in a secure and guaranteed-unique fashion</para>
1173 <indexterm zone="ch-system-util-linux uuidd">
1174 <primary sortas="b-uuidd">uuidd</primary>
1175 </indexterm>
1176 </listitem>
1177 </varlistentry>
1178
1179 <varlistentry id="uuidgen">
1180 <term><command>uuidgen</command></term>
1181 <listitem>
1182 <para>Creates new UUIDs. Each new UUID can reasonably be considered
1183 unique among all UUIDs created, on the local system and on other
1184 systems, in the past and in the future</para>
1185 <indexterm zone="ch-system-util-linux uuidgen">
1186 <primary sortas="b-uuidgen">uuidgen</primary>
1187 </indexterm>
1188 </listitem>
1189 </varlistentry>
1190
1191 <varlistentry id="uuidparse">
1192 <term><command>uuidparse</command></term>
1193 <listitem>
1194 <para>An utility to parse unique identifiers</para>
1195 <indexterm zone="ch-system-util-linux uuidparse">
1196 <primary sortas="b-uuidparse">uuidparse</primary>
1197 </indexterm>
1198 </listitem>
1199 </varlistentry>
1200
1201 <varlistentry id="wall">
1202 <term><command>wall</command></term>
1203 <listitem>
1204 <para>Displays the contents of a file or, by default, its standard
1205 input, on the terminals of all currently logged in users</para>
1206 <indexterm zone="ch-system-util-linux wall">
1207 <primary sortas="b-wall">wall</primary>
1208 </indexterm>
1209 </listitem>
1210 </varlistentry>
1211
1212 <varlistentry id="wdctl">
1213 <term><command>wdctl</command></term>
1214 <listitem>
1215 <para>Shows hardware watchdog status</para>
1216 <indexterm zone="ch-system-util-linux wdctl">
1217 <primary sortas="b-wdctl">wdctl</primary>
1218 </indexterm>
1219 </listitem>
1220 </varlistentry>
1221
1222 <varlistentry id="whereis">
1223 <term><command>whereis</command></term>
1224 <listitem>
1225 <para>Reports the location of the binary, source, and man page
1226 for the given command</para>
1227 <indexterm zone="ch-system-util-linux whereis">
1228 <primary sortas="b-whereis">whereis</primary>
1229 </indexterm>
1230 </listitem>
1231 </varlistentry>
1232
1233 <varlistentry id="wipefs">
1234 <term><command>wipefs</command></term>
1235 <listitem>
1236 <para>Wipes a filesystem signature from a device</para>
1237 <indexterm zone="ch-system-util-linux wipefs">
1238 <primary sortas="b-wipefs">wipefs</primary>
1239 </indexterm>
1240 </listitem>
1241 </varlistentry>
1242
1243 <varlistentry id="x86_64">
1244 <term><command>x86_64</command></term>
1245 <listitem>
1246 <para>A symbolic link to setarch</para>
1247 <indexterm zone="ch-system-util-linux x86_64">
1248 <primary sortas="b-x86_64">x86_64</primary>
1249 </indexterm>
1250 </listitem>
1251 </varlistentry>
1252
1253 <varlistentry id="zramctl">
1254 <term><command>zramctl</command></term>
1255 <listitem>
1256 <para>A program to set up and control zram (compressed ram disk)
1257 devices</para>
1258 <indexterm zone="ch-system-util-linux zramctl">
1259 <primary sortas="b-zramctl">zramctl</primary>
1260 </indexterm>
1261 </listitem>
1262 </varlistentry>
1263
1264 <varlistentry id="libblkid">
1265 <term><filename class="libraryfile">libblkid</filename></term>
1266 <listitem>
1267 <para>Contains routines for device identification and token
1268 extraction</para>
1269 <indexterm zone="ch-system-util-linux libblkid">
1270 <primary sortas="c-libblkid">libblkid</primary>
1271 </indexterm>
1272 </listitem>
1273 </varlistentry>
1274
1275 <varlistentry id="libfdisk">
1276 <term><filename class="libraryfile">libfdisk</filename></term>
1277 <listitem>
1278 <para>Contains routines for manipulating partition tables</para>
1279 <indexterm zone="ch-system-util-linux libfdisk">
1280 <primary sortas="c-libfdisk">libfdisk</primary>
1281 </indexterm>
1282 </listitem>
1283 </varlistentry>
1284
1285 <varlistentry id="libmount">
1286 <term><filename class="libraryfile">libmount</filename></term>
1287 <listitem>
1288 <para>Contains routines for block device mounting and
1289 unmounting</para>
1290 <indexterm zone="ch-system-util-linux libmount">
1291 <primary sortas="c-libmount">libmount</primary>
1292 </indexterm>
1293 </listitem>
1294 </varlistentry>
1295
1296 <varlistentry id="libsmartcols">
1297 <term><filename class="libraryfile">libsmartcols</filename></term>
1298 <listitem>
1299 <para>Contains routines for aiding screen output in tabular form</para>
1300 <indexterm zone="ch-system-util-linux libsmartcols">
1301 <primary sortas="c-libsmartcols">libsmartcols</primary>
1302 </indexterm>
1303 </listitem>
1304 </varlistentry>
1305
1306 <varlistentry id="libuuid">
1307 <term><filename class="libraryfile">libuuid</filename></term>
1308 <listitem>
1309 <para>Contains routines for generating unique identifiers for objects
1310 that may be accessible beyond the local system</para>
1311 <indexterm zone="ch-system-util-linux libuuid">
1312 <primary sortas="c-libuuid">libuuid</primary>
1313 </indexterm>
1314 </listitem>
1315 </varlistentry>
1316
1317 </variablelist>
1318
1319 </sect2>
1320
1321</sect1>
Note: See TracBrowser for help on using the repository browser.