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">
8 <sect1 id="ch-system-util-linux" role="wrap">
9 <?dbhtml filename="util-linux.html"?>
11 <sect1info condition="script">
12 <productname>util-linux</productname>
13 <productnumber>&util-linux-version;</productnumber>
14 <address>&util-linux-url;</address>
17 <title>Util-linux-&util-linux-version;</title>
19 <indexterm zone="ch-system-util-linux">
20 <primary sortas="a-Util-linux">Util-linux</primary>
23 <sect2 role="package">
26 <para>The Util-linux package contains miscellaneous utility programs.
27 Among them are utilities for handling file systems, consoles, partitions,
31 <segtitle>&buildtime;</segtitle>
32 <segtitle>&diskspace;</segtitle>
35 <seg>&util-linux-ch6-sbu;</seg>
36 <seg>&util-linux-ch6-du;</seg>
42 <sect2 role="installation">
43 <title>FHS compliance notes</title>
45 <para>The FHS recommends using the <filename
46 class="directory">/var/lib/hwclock</filename> directory instead of the
47 usual <filename class="directory">/etc</filename> directory as the
48 location for the <filename>adjtime</filename> file. First create a directory
49 to enable storage for the <command>hwclock</command> program:</para>
51 <screen><userinput remap="pre">mkdir -pv /var/lib/hwclock</userinput></screen>
55 <sect2 role="installation">
56 <title>Installation of Util-linux</title>
58 <para>First, fix one of the regression tests:</para>
60 <screen><userinput remap="pre">sed -e 's/2^64/(2^64/' -e 's/E </E) <=/' -e 's/ne /eq /' \
61 -i tests/ts/ipcs/limits2</userinput></screen>
63 <para revision="systemd">Remove the earlier created symlinks:</para>
65 <screen revision="systemd"><userinput remap="pre">rm -vf /usr/include/{blkid,libmount,uuid}</userinput></screen>
67 <para>Prepare Util-linux for compilation:</para>
69 <screen revision="sysv"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
70 --docdir=/usr/share/doc/util-linux-&util-linux-version; \
77 --disable-pylibmount \
81 --without-systemdsystemunitdir</userinput></screen>
83 <screen revision="systemd"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
84 --docdir=/usr/share/doc/util-linux-&util-linux-version; \
91 --disable-pylibmount \
93 --without-python</userinput></screen>
95 <para>The --disable and --without options prevent warnings about
96 building components that require packages not in LFS or are
97 inconsistent with programs installed by other packages.</para>
99 <para>Compile the package:</para>
101 <screen><userinput remap="make">make</userinput></screen>
103 <para>If desired, run the test suite as a non-root user:</para>
105 <warning><para>Running the test suite as the root user can be harmful to
106 your system. To run it, the CONFIG_SCSI_DEBUG option for the kernel must
107 be available in the currently running system, and must be built as a
108 module. Building it into the kernel will prevent booting. For complete
109 coverage, other BLFS packages must be installed. If desired, this test can
110 be run after rebooting into the completed LFS system and running:</para>
112 <screen role="nodump"><userinput>bash tests/run.sh --srcdir=$PWD --builddir=$PWD</userinput></screen>
115 <screen><userinput remap="test">chown -Rv nobody .
116 su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
118 <para>Install the package:</para>
120 <screen><userinput remap="install">make install</userinput></screen>
124 <sect2 id="contents-utillinux" role="content">
125 <title>Contents of Util-linux</title>
128 <segtitle>Installed programs</segtitle>
129 <segtitle>Installed libraries</segtitle>
130 <segtitle>Installed directories</segtitle>
133 <seg>addpart, agetty, blkdiscard, blkid, blkzone, blockdev, cal, cfdisk, chcpu,
134 chmem, choom, chrt, col, colcrt, colrm, column, ctrlaltdel, delpart, dmesg,
135 eject, fallocate, fdformat, fdisk, fincore, findfs, findmnt, flock, fsck,
136 fsck.cramfs, fsck.minix, fsfreeze, fstrim, getopt, hexdump, hwclock,
137 i386, ionice, ipcmk, ipcrm, ipcs, isosize, kill, last, lastb (link to
138 last), ldattach, linux32, linux64, logger, look, losetup, lsblk, lscpu,
139 lsipc, lslocks, lslogins, lsmem, lsns, mcookie, mesg, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap,
140 more, mount, mountpoint, namei, nsenter, partx, pivot_root, prlimit, raw,
141 readprofile, rename, renice, resizepart, rev, rfkill, rtcwake, script,
142 scriptreplay, setarch, setsid, setterm, sfdisk, sulogin, swaplabel,
143 swapoff (link to swapon), swapon, switch_root, taskset, ul,
144 umount, uname26, unshare, utmpdump, uuidd, uuidgen, uuidparse, wall, wdctl, whereis,
145 wipefs, x86_64, and zramctl</seg>
146 <seg>libblkid.so, libfdisk.so, libmount.so,
147 libsmartcols.so, and libuuid.so</seg>
148 <seg>/usr/include/blkid,
149 /usr/include/libfdisk,
150 /usr/include/libmount,
151 /usr/include/libsmartcols,
153 /usr/share/doc/util-linux-&util-linux-version;,
154 and /var/lib/hwclock</seg>
159 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
160 <?dbfo list-presentation="list"?>
161 <?dbhtml list-presentation="table"?>
163 <varlistentry id="addpart">
164 <term><command>addpart</command></term>
166 <para>Informs the Linux kernel of new partitions</para>
167 <indexterm zone="ch-system-util-linux addpart">
168 <primary sortas="b-addpart">addpart</primary>
173 <varlistentry id="agetty">
174 <term><command>agetty</command></term>
176 <para>Opens a tty port, prompts for a login name,
177 and then invokes the <command>login</command> program</para>
178 <indexterm zone="ch-system-util-linux agetty">
179 <primary sortas="b-agetty">agetty</primary>
184 <varlistentry id="blkdiscard">
185 <term><command>blkdiscard</command></term>
187 <para>Discards sectors on a device</para>
188 <indexterm zone="ch-system-util-linux blkdiscard">
189 <primary sortas="b-blkdiscard">blkdiscard</primary>
194 <varlistentry id="blkid">
195 <term><command>blkid</command></term>
197 <para>A command line utility to locate and print block device
199 <indexterm zone="ch-system-util-linux blkid">
200 <primary sortas="b-blkid">blkid</primary>
205 <varlistentry id="blkzone">
206 <term><command>blkzone</command></term>
208 <para>Runs zone command on the given block device</para>
209 <indexterm zone="ch-system-util-linux blkzone">
210 <primary sortas="b-blkzone">blkzone</primary>
215 <varlistentry id="blockdev">
216 <term><command>blockdev</command></term>
218 <para>Allows users to call block device ioctls from the command
220 <indexterm zone="ch-system-util-linux blockdev">
221 <primary sortas="b-blockdev">blockdev</primary>
226 <varlistentry id="cal">
227 <term><command>cal</command></term>
229 <para>Displays a simple calendar</para>
230 <indexterm zone="ch-system-util-linux cal">
231 <primary sortas="b-cal">cal</primary>
236 <varlistentry id="cfdisk">
237 <term><command>cfdisk</command></term>
239 <para>Manipulates the partition table of the given device</para>
240 <indexterm zone="ch-system-util-linux cfdisk">
241 <primary sortas="b-cfdisk">cfdisk</primary>
246 <varlistentry id="chcpu">
247 <term><command>chcpu</command></term>
249 <para>Modifies the state of CPUs</para>
250 <indexterm zone="ch-system-util-linux chcpu">
251 <primary sortas="b-chcpu">chcpu</primary>
256 <varlistentry id="chmem">
257 <term><command>chmem</command></term>
259 <para>Configures memory</para>
260 <indexterm zone="ch-system-util-linux chmem">
261 <primary sortas="b-chmem">chmem</primary>
266 <varlistentry id="choom">
267 <term><command>choom</command></term>
269 <para>Displays and adjusts OOM-killer score</para>
270 <indexterm zone="ch-system-util-linux choom">
271 <primary sortas="b-choom">choom</primary>
276 <varlistentry id="chrt">
277 <term><command>chrt</command></term>
279 <para>Manipulates real-time attributes of a process</para>
280 <indexterm zone="ch-system-util-linux chrt">
281 <primary sortas="b-chrt">chrt</primary>
286 <varlistentry id="col">
287 <term><command>col</command></term>
289 <para>Filters out reverse line feeds</para>
290 <indexterm zone="ch-system-util-linux col">
291 <primary sortas="b-col">col</primary>
296 <varlistentry id="colcrt">
297 <term><command>colcrt</command></term>
299 <para>Filters <command>nroff</command> output for terminals
300 that lack some capabilities, such as overstriking and half-lines</para>
301 <indexterm zone="ch-system-util-linux colcrt">
302 <primary sortas="b-colcrt">colcrt</primary>
307 <varlistentry id="colrm">
308 <term><command>colrm</command></term>
310 <para>Filters out the given columns</para>
311 <indexterm zone="ch-system-util-linux colrm">
312 <primary sortas="b-colrm">colrm</primary>
317 <varlistentry id="column">
318 <term><command>column</command></term>
320 <para>Formats a given file into multiple columns</para>
321 <indexterm zone="ch-system-util-linux column">
322 <primary sortas="b-column">column</primary>
327 <varlistentry id="ctrlaltdel">
328 <term><command>ctrlaltdel</command></term>
330 <para>Sets the function of the Ctrl+Alt+Del key combination to a
331 hard or a soft reset</para>
332 <indexterm zone="ch-system-util-linux ctrlaltdel">
333 <primary sortas="b-ctrlaltdel">ctrlaltdel</primary>
338 <varlistentry id="delpart">
339 <term><command>delpart</command></term>
341 <para>Asks the Linux kernel to remove a partition</para>
342 <indexterm zone="ch-system-util-linux delpart">
343 <primary sortas="b-delpart">delpart</primary>
348 <varlistentry id="dmesg">
349 <term><command>dmesg</command></term>
351 <para>Dumps the kernel boot messages</para>
352 <indexterm zone="ch-system-util-linux dmesg">
353 <primary sortas="b-dmesg">dmesg</primary>
358 <varlistentry id="eject">
359 <term><command>eject</command></term>
361 <para>Ejects removable media</para>
362 <indexterm zone="ch-system-util-linux eject">
363 <primary sortas="b-eject">eject</primary>
368 <varlistentry id="fallocate">
369 <term><command>fallocate</command></term>
371 <para>Preallocates space to a file</para>
372 <indexterm zone="ch-system-util-linux fallocate">
373 <primary sortas="b-fallocate">fallocate</primary>
378 <varlistentry id="fdformat">
379 <term><command>fdformat</command></term>
381 <para>Low-level formats a floppy disk</para>
382 <indexterm zone="ch-system-util-linux fdformat">
383 <primary sortas="b-fdformat">fdformat</primary>
388 <varlistentry id="fdisk">
389 <term><command>fdisk</command></term>
391 <para>Manipulates the partition table of the given device</para>
392 <indexterm zone="ch-system-util-linux fdisk">
393 <primary sortas="b-fdisk">fdisk</primary>
398 <varlistentry id="fincore">
399 <term><command>fincore</command></term>
401 <para>Counts pages of file contents in core</para>
402 <indexterm zone="ch-system-util-linux fincore">
403 <primary sortas="b-fincore">fincore</primary>
408 <varlistentry id="findfs">
409 <term><command>findfs</command></term>
411 <para>Finds a file system by label or Universally Unique Identifier
413 <indexterm zone="ch-system-util-linux findfs">
414 <primary sortas="b-findfs">findfs</primary>
419 <varlistentry id="findmnt">
420 <term><command>findmnt</command></term>
422 <para>Is a command line interface to the libmount library
423 for work with mountinfo, fstab and mtab files</para>
424 <indexterm zone="ch-system-util-linux findmnt">
425 <primary sortas="b-findmnt">findmnt</primary>
430 <varlistentry id="flock">
431 <term><command>flock</command></term>
433 <para>Acquires a file lock and then executes a command with the lock
435 <indexterm zone="ch-system-util-linux flock">
436 <primary sortas="b-flock">flock</primary>
441 <varlistentry id="fsck">
442 <term><command>fsck</command></term>
444 <para>Is used to check, and optionally repair, file systems</para>
445 <indexterm zone="ch-system-util-linux fsck">
446 <primary sortas="b-fsck">fsck</primary>
451 <varlistentry id="fsck.cramfs">
452 <term><command>fsck.cramfs</command></term>
454 <para>Performs a consistency check on the Cramfs file system on the
456 <indexterm zone="ch-system-util-linux fsck.cramfs">
457 <primary sortas="b-fsck.cramfs">fsck.cramfs</primary>
462 <varlistentry id="fsck.minix">
463 <term><command>fsck.minix</command></term>
465 <para>Performs a consistency check on the Minix file system on the
467 <indexterm zone="ch-system-util-linux fsck.minix">
468 <primary sortas="b-fsck.minix">fsck.minix</primary>
473 <varlistentry id="fsfreeze">
474 <term><command>fsfreeze</command></term>
476 <para>Is a very simple wrapper around FIFREEZE/FITHAW ioctl
477 kernel driver operations</para>
478 <indexterm zone="ch-system-util-linux fsfreeze">
479 <primary sortas="b-fsfreeze">fsfreeze</primary>
484 <varlistentry id="fstrim">
485 <term><command>fstrim</command></term>
487 <para>Discards unused blocks on a mounted filesystem</para>
488 <indexterm zone="ch-system-util-linux fstrim">
489 <primary sortas="b-fstrim">fstrim</primary>
494 <varlistentry id="getopt">
495 <term><command>getopt</command></term>
497 <para>Parses options in the given command line</para>
498 <indexterm zone="ch-system-util-linux getopt">
499 <primary sortas="b-getopt">getopt</primary>
504 <varlistentry id="hexdump">
505 <term><command>hexdump</command></term>
507 <para>Dumps the given file in hexadecimal or in another given
509 <indexterm zone="ch-system-util-linux hexdump">
510 <primary sortas="b-hexdump">hexdump</primary>
515 <varlistentry id="hwclock">
516 <term><command>hwclock</command></term>
518 <para>Reads or sets the system's hardware clock, also called
519 the Real-Time Clock (RTC) or Basic Input-Output System (BIOS)
521 <indexterm zone="ch-system-util-linux hwclock">
522 <primary sortas="b-hwclock">hwclock</primary>
527 <varlistentry id="i386">
528 <term><command>i386</command></term>
530 <para>A symbolic link to setarch</para>
531 <indexterm zone="ch-system-util-linux i386">
532 <primary sortas="b-i386">i386</primary>
537 <varlistentry id="ionice">
538 <term><command>ionice</command></term>
540 <para>Gets or sets the io scheduling class and priority for a program</para>
541 <indexterm zone="ch-system-util-linux ionice">
542 <primary sortas="b-ionice">ionice</primary>
547 <varlistentry id="ipcmk">
548 <term><command>ipcmk</command></term>
550 <para>Creates various IPC resources</para>
551 <indexterm zone="ch-system-util-linux ipcmk">
552 <primary sortas="b-ipcmk">ipcmk</primary>
557 <varlistentry id="ipcrm">
558 <term><command>ipcrm</command></term>
560 <para>Removes the given Inter-Process Communication (IPC) resource</para>
561 <indexterm zone="ch-system-util-linux ipcrm">
562 <primary sortas="b-ipcrm">ipcrm</primary>
567 <varlistentry id="ipcs">
568 <term><command>ipcs</command></term>
570 <para>Provides IPC status information</para>
571 <indexterm zone="ch-system-util-linux ipcs">
572 <primary sortas="b-ipcs">ipcs</primary>
577 <varlistentry id="isosize">
578 <term><command>isosize</command></term>
580 <para>Reports the size of an iso9660 file system</para>
581 <indexterm zone="ch-system-util-linux isosize">
582 <primary sortas="b-isosize">isosize</primary>
587 <varlistentry id="kill">
588 <term><command>kill</command></term>
590 <para>Sends signals to processes</para>
591 <indexterm zone="ch-system-util-linux kill">
592 <primary sortas="b-kill">kill</primary>
597 <varlistentry id="last">
598 <term><command>last</command></term>
600 <para>Shows which users last logged in (and out), searching back
601 through the <filename>/var/log/wtmp</filename> file; it also shows
602 system boots, shutdowns, and run-level changes</para>
603 <indexterm zone="ch-system-util-linux last">
604 <primary sortas="b-last">last</primary>
609 <varlistentry id="lastb">
610 <term><command>lastb</command></term>
612 <para>Shows the failed login attempts, as logged in
613 <filename>/var/log/btmp</filename></para>
614 <indexterm zone="ch-system-util-linux lastb">
615 <primary sortas="b-lastb">lastb</primary>
620 <varlistentry id="ldattach">
621 <term><command>ldattach</command></term>
623 <para>Attaches a line discipline to a serial line</para>
624 <indexterm zone="ch-system-util-linux ldattach">
625 <primary sortas="b-ldattach">ldattach</primary>
630 <varlistentry id="linux32">
631 <term><command>linux32</command></term>
633 <para>A symbolic link to setarch</para>
634 <indexterm zone="ch-system-util-linux linux32">
635 <primary sortas="b-linux32">linux32</primary>
640 <varlistentry id="linux64">
641 <term><command>linux64</command></term>
643 <para>A symbolic link to setarch</para>
644 <indexterm zone="ch-system-util-linux linux64">
645 <primary sortas="b-linux64">linux64</primary>
650 <varlistentry id="logger">
651 <term><command>logger</command></term>
653 <para>Enters the given message into the system log</para>
654 <indexterm zone="ch-system-util-linux logger">
655 <primary sortas="b-logger">logger</primary>
660 <varlistentry id="look">
661 <term><command>look</command></term>
663 <para>Displays lines that begin with the given string</para>
664 <indexterm zone="ch-system-util-linux look">
665 <primary sortas="b-look">look</primary>
670 <varlistentry id="losetup">
671 <term><command>losetup</command></term>
673 <para>Sets up and controls loop devices</para>
674 <indexterm zone="ch-system-util-linux losetup">
675 <primary sortas="b-losetup">losetup</primary>
680 <varlistentry id="lsblk">
681 <term><command>lsblk</command></term>
683 <para>Lists information about all or selected block devices in
684 a tree-like format</para>
685 <indexterm zone="ch-system-util-linux lsblk">
686 <primary sortas="b-lsblk">lsblk</primary>
691 <varlistentry id="lscpu">
692 <term><command>lscpu</command></term>
694 <para>Prints CPU architecture information</para>
695 <indexterm zone="ch-system-util-linux lscpu">
696 <primary sortas="b-lscpu">lscpu</primary>
701 <varlistentry id="lsipc">
702 <term><command>lsipc</command></term>
704 <para>Prints information on IPC facilities currently employed
706 <indexterm zone="ch-system-util-linux lsipc">
707 <primary sortas="b-lsipc">lsipc</primary>
712 <varlistentry id="lslocks">
713 <term><command>lslocks</command></term>
715 <para>Lists local system locks</para>
716 <indexterm zone="ch-system-util-linux lslocks">
717 <primary sortas="b-lslocks">lslocks</primary>
722 <varlistentry id="lslogins">
723 <term><command>lslogins</command></term>
725 <para>Lists information about users, groups and system accounts</para>
726 <indexterm zone="ch-system-util-linux lslogins">
727 <primary sortas="b-lslogins">lslogins</primary>
732 <varlistentry id="lsmem">
733 <term><command>lsmem</command></term>
735 <para>Lists the ranges of available memory with their online
737 <indexterm zone="ch-system-util-linux lsmem">
738 <primary sortas="b-lsmem">lsmem</primary>
743 <varlistentry id="lsns">
744 <term><command>lsns</command></term>
746 <para>Lists namespaces</para>
747 <indexterm zone="ch-system-util-linux lsns">
748 <primary sortas="b-lsns">lsns</primary>
753 <varlistentry id="mcookie">
754 <term><command>mcookie</command></term>
756 <para>Generates magic cookies (128-bit random hexadecimal numbers) for
757 <command>xauth</command></para>
758 <indexterm zone="ch-system-util-linux mcookie">
759 <primary sortas="b-mcookie">mcookie</primary>
764 <varlistentry id="mesg">
765 <term><command>mesg</command></term>
767 <para>Controls whether other users can send messages to the current
768 user's terminal</para>
769 <indexterm zone="ch-system-util-linux mesg">
770 <primary sortas="b-mesg">mesg</primary>
775 <varlistentry id="mkfs">
776 <term><command>mkfs</command></term>
778 <para>Builds a file system on a device (usually a hard disk
780 <indexterm zone="ch-system-util-linux mkfs">
781 <primary sortas="b-mkfs">mkfs</primary>
786 <varlistentry id="mkfs.bfs">
787 <term><command>mkfs.bfs</command></term>
789 <para>Creates a Santa Cruz Operations (SCO) bfs file system</para>
790 <indexterm zone="ch-system-util-linux mkfs.bfs">
791 <primary sortas="b-mkfs.bfs">mkfs.bfs</primary>
796 <varlistentry id="mkfs.cramfs">
797 <term><command>mkfs.cramfs</command></term>
799 <para>Creates a cramfs file system</para>
800 <indexterm zone="ch-system-util-linux mkfs.cramfs">
801 <primary sortas="b-mkfs.cramfs">mkfs.cramfs</primary>
806 <varlistentry id="mkfs.minix">
807 <term><command>mkfs.minix</command></term>
809 <para>Creates a Minix file system</para>
810 <indexterm zone="ch-system-util-linux mkfs.minix">
811 <primary sortas="b-mkfs.minix">mkfs.minix</primary>
816 <varlistentry id="mkswap">
817 <term><command>mkswap</command></term>
819 <para>Initializes the given device or file to be used as a swap
821 <indexterm zone="ch-system-util-linux mkswap">
822 <primary sortas="b-mkswap">mkswap</primary>
827 <varlistentry id="more">
828 <term><command>more</command></term>
830 <para>A filter for paging through text one screen at a time</para>
831 <indexterm zone="ch-system-util-linux more">
832 <primary sortas="b-more">more</primary>
837 <varlistentry id="mount">
838 <term><command>mount</command></term>
840 <para>Attaches the file system on the given device to a specified
841 directory in the file-system tree</para>
842 <indexterm zone="ch-system-util-linux mount">
843 <primary sortas="b-mount">mount</primary>
848 <varlistentry id="mountpoint">
849 <term><command>mountpoint</command></term>
851 <para>Checks if the directory is a mountpoint</para>
852 <indexterm zone="ch-system-util-linux mountpoint">
853 <primary sortas="b-mountpoint">mountpoint</primary>
858 <varlistentry id="namei">
859 <term><command>namei</command></term>
861 <para>Shows the symbolic links in the given pathnames</para>
862 <indexterm zone="ch-system-util-linux namei">
863 <primary sortas="b-namei">namei</primary>
868 <varlistentry id="nsenter">
869 <term><command>nsenter</command></term>
871 <para>Runs a program with namespaces of other processes</para>
872 <indexterm zone="ch-system-util-linux nsenter">
873 <primary sortas="b-nsenter">nsenter</primary>
878 <varlistentry id="partx">
879 <term><command>partx</command></term>
881 <para>Tells the kernel about the presence and numbering of on-disk
883 <indexterm zone="ch-system-util-linux partx">
884 <primary sortas="b-partx">partx</primary>
889 <varlistentry id="pivot_root">
890 <term><command>pivot_root</command></term>
892 <para>Makes the given file system the new root file system of the
893 current process</para>
894 <indexterm zone="ch-system-util-linux pivot_root">
895 <primary sortas="b-pivot_root">pivot_root</primary>
900 <varlistentry id="prlimit">
901 <term><command>prlimit</command></term>
903 <para>Get and set a process' resource limits</para>
904 <indexterm zone="ch-system-util-linux prlimit">
905 <primary sortas="b-prlimit">prlimit</primary>
910 <varlistentry id="raw">
911 <term><command>raw</command></term>
913 <para>Bind a Linux raw character device to a block device</para>
914 <indexterm zone="ch-system-util-linux raw">
915 <primary sortas="b-raw">raw</primary>
920 <varlistentry id="readprofile">
921 <term><command>readprofile</command></term>
923 <para>Reads kernel profiling information</para>
924 <indexterm zone="ch-system-util-linux readprofile">
925 <primary sortas="b-readprofile">readprofile</primary>
930 <varlistentry id="rename">
931 <term><command>rename</command></term>
933 <para>Renames the given files, replacing a given string with
935 <indexterm zone="ch-system-util-linux rename">
936 <primary sortas="b-rename">rename</primary>
941 <varlistentry id="renice">
942 <term><command>renice</command></term>
944 <para>Alters the priority of running processes</para>
945 <indexterm zone="ch-system-util-linux renice">
946 <primary sortas="b-renice">renice</primary>
951 <varlistentry id="resizepart">
952 <term><command>resizepart</command></term>
954 <para>Asks the Linux kernel to resize a partition</para>
955 <indexterm zone="ch-system-util-linux resizepart">
956 <primary sortas="b-resizepart">resizepart</primary>
961 <varlistentry id="rev">
962 <term><command>rev</command></term>
964 <para>Reverses the lines of a given file</para>
965 <indexterm zone="ch-system-util-linux rev">
966 <primary sortas="b-rev">rev</primary>
971 <varlistentry id="rkfill">
972 <term><command>rkfill</command></term>
974 <para>Tool for enabling and disabling wireless devices</para>
975 <indexterm zone="ch-system-util-linux rkfill">
976 <primary sortas="b-rkfill">rkfill</primary>
981 <varlistentry id="rtcwake">
982 <term><command>rtcwake</command></term>
984 <para>Used to enter a system sleep state until specified wakeup
986 <indexterm zone="ch-system-util-linux rtcwake">
987 <primary sortas="b-rtcwake">rtcwake</primary>
992 <varlistentry id="script">
993 <term><command>script</command></term>
995 <para>Makes a typescript of a terminal session</para>
996 <indexterm zone="ch-system-util-linux script">
997 <primary sortas="b-script">script</primary>
1002 <varlistentry id="scriptreplay">
1003 <term><command>scriptreplay</command></term>
1005 <para>Plays back typescripts using timing information</para>
1006 <indexterm zone="ch-system-util-linux scriptreplay">
1007 <primary sortas="b-scriptreplay">scriptreplay</primary>
1012 <varlistentry id="setarch">
1013 <term><command>setarch</command></term>
1015 <para>Changes reported architecture in a new program environment and
1016 sets personality flags</para>
1017 <indexterm zone="ch-system-util-linux setarch">
1018 <primary sortas="b-setarch">setarch</primary>
1023 <varlistentry id="setsid">
1024 <term><command>setsid</command></term>
1026 <para>Runs the given program in a new session</para>
1027 <indexterm zone="ch-system-util-linux setsid">
1028 <primary sortas="b-setsid">setsid</primary>
1033 <varlistentry id="setterm">
1034 <term><command>setterm</command></term>
1036 <para>Sets terminal attributes</para>
1037 <indexterm zone="ch-system-util-linux setterm">
1038 <primary sortas="b-setterm">setterm</primary>
1043 <varlistentry id="sfdisk">
1044 <term><command>sfdisk</command></term>
1046 <para>A disk partition table manipulator</para>
1047 <indexterm zone="ch-system-util-linux sfdisk">
1048 <primary sortas="b-sfdisk">sfdisk</primary>
1053 <varlistentry id="sulogin">
1054 <term><command>sulogin</command></term>
1056 <para>Allows <systemitem class="username">root</systemitem> to log in;
1057 it is normally invoked by <command>init</command> when the system goes
1058 into single user mode</para>
1059 <indexterm zone="ch-system-util-linux sulogin">
1060 <primary sortas="b-sulogin">sulogin</primary>
1065 <varlistentry id="swaplabel">
1066 <term><command>swaplabel</command></term>
1068 <para>Allows to change swaparea UUID and label</para>
1069 <indexterm zone="ch-system-util-linux swaplabel">
1070 <primary sortas="b-swaplabel">swaplabel</primary>
1075 <varlistentry id="swapoff">
1076 <term><command>swapoff</command></term>
1078 <para>Disables devices and files for paging and swapping</para>
1079 <indexterm zone="ch-system-util-linux swapoff">
1080 <primary sortas="b-swapoff">swapoff</primary>
1085 <varlistentry id="swapon">
1086 <term><command>swapon</command></term>
1088 <para>Enables devices and files for paging and swapping and
1089 lists the devices and files currently in use</para>
1090 <indexterm zone="ch-system-util-linux swapon">
1091 <primary sortas="b-swapon">swapon</primary>
1096 <varlistentry id="switch_root">
1097 <term><command>switch_root</command></term>
1099 <para>Switches to another filesystem as the root of the mount tree</para>
1100 <indexterm zone="ch-system-util-linux switch_root">
1101 <primary sortas="b-switch_root">switch_root</primary>
1106 <varlistentry id="tailf">
1107 <term><command>tailf</command></term>
1109 <para>Tracks the growth of a log file; displays the last 10 lines
1110 of a log file, then continues displaying any new entries in the
1111 log file as they are created</para>
1112 <indexterm zone="ch-system-util-linux tailf">
1113 <primary sortas="b-tailf">tailf</primary>
1118 <varlistentry id="taskset">
1119 <term><command>taskset</command></term>
1121 <para>Retrieves or sets a process' CPU affinity</para>
1122 <indexterm zone="ch-system-util-linux taskset">
1123 <primary sortas="b-taskset">taskset</primary>
1128 <varlistentry id="ul">
1129 <term><command>ul</command></term>
1131 <para>A filter for translating underscores into escape sequences
1132 indicating underlining for the terminal in use</para>
1133 <indexterm zone="ch-system-util-linux ul">
1134 <primary sortas="b-ul">ul</primary>
1139 <varlistentry id="umount">
1140 <term><command>umount</command></term>
1142 <para>Disconnects a file system from the system's file tree</para>
1143 <indexterm zone="ch-system-util-linux umount">
1144 <primary sortas="b-umount">umount</primary>
1149 <varlistentry id="uname26">
1150 <term><command>uname26</command></term>
1152 <para>A symbolic link to setarch</para>
1153 <indexterm zone="ch-system-util-linux uname26">
1154 <primary sortas="b-uname26">uname26</primary>
1159 <varlistentry id="unshare">
1160 <term><command>unshare</command></term>
1162 <para>Runs a program with some namespaces unshared from parent</para>
1163 <indexterm zone="ch-system-util-linux unshare">
1164 <primary sortas="b-unshare">unshare</primary>
1169 <varlistentry id="utmpdump">
1170 <term><command>utmpdump</command></term>
1172 <para>Displays the content of the given login file in a more
1173 user-friendly format</para>
1174 <indexterm zone="ch-system-util-linux utmpdump">
1175 <primary sortas="b-utmpdump">utmpdump</primary>
1180 <varlistentry id="uuidd">
1181 <term><command>uuidd</command></term>
1183 <para>A daemon used by the UUID library to generate time-based
1184 UUIDs in a secure and guaranteed-unique fashion</para>
1185 <indexterm zone="ch-system-util-linux uuidd">
1186 <primary sortas="b-uuidd">uuidd</primary>
1191 <varlistentry id="uuidgen">
1192 <term><command>uuidgen</command></term>
1194 <para>Creates new UUIDs. Each new UUID can reasonably be considered
1195 unique among all UUIDs created, on the local system and on other
1196 systems, in the past and in the future</para>
1197 <indexterm zone="ch-system-util-linux uuidgen">
1198 <primary sortas="b-uuidgen">uuidgen</primary>
1203 <varlistentry id="uuidparse">
1204 <term><command>uuidparse</command></term>
1206 <para>An utility to parse unique identifiers</para>
1207 <indexterm zone="ch-system-util-linux uuidparse">
1208 <primary sortas="b-uuidparse">uuidparse</primary>
1213 <varlistentry id="wall">
1214 <term><command>wall</command></term>
1216 <para>Displays the contents of a file or, by default, its standard
1217 input, on the terminals of all currently logged in users</para>
1218 <indexterm zone="ch-system-util-linux wall">
1219 <primary sortas="b-wall">wall</primary>
1224 <varlistentry id="wdctl">
1225 <term><command>wdctl</command></term>
1227 <para>Shows hardware watchdog status</para>
1228 <indexterm zone="ch-system-util-linux wdctl">
1229 <primary sortas="b-wdctl">wdctl</primary>
1234 <varlistentry id="whereis">
1235 <term><command>whereis</command></term>
1237 <para>Reports the location of the binary, source, and man page
1238 for the given command</para>
1239 <indexterm zone="ch-system-util-linux whereis">
1240 <primary sortas="b-whereis">whereis</primary>
1245 <varlistentry id="wipefs">
1246 <term><command>wipefs</command></term>
1248 <para>Wipes a filesystem signature from a device</para>
1249 <indexterm zone="ch-system-util-linux wipefs">
1250 <primary sortas="b-wipefs">wipefs</primary>
1255 <varlistentry id="x86_64">
1256 <term><command>x86_64</command></term>
1258 <para>A symbolic link to setarch</para>
1259 <indexterm zone="ch-system-util-linux x86_64">
1260 <primary sortas="b-x86_64">x86_64</primary>
1265 <varlistentry id="zramctl">
1266 <term><command>zramctl</command></term>
1268 <para>A program to set up and control zram (compressed ram disk)
1270 <indexterm zone="ch-system-util-linux zramctl">
1271 <primary sortas="b-zramctl">zramctl</primary>
1276 <varlistentry id="libblkid">
1277 <term><filename class="libraryfile">libblkid</filename></term>
1279 <para>Contains routines for device identification and token
1281 <indexterm zone="ch-system-util-linux libblkid">
1282 <primary sortas="c-libblkid">libblkid</primary>
1287 <varlistentry id="libfdisk">
1288 <term><filename class="libraryfile">libfdisk</filename></term>
1290 <para>Contains routines for manipulating partition tables</para>
1291 <indexterm zone="ch-system-util-linux libfdisk">
1292 <primary sortas="c-libfdisk">libfdisk</primary>
1297 <varlistentry id="libmount">
1298 <term><filename class="libraryfile">libmount</filename></term>
1300 <para>Contains routines for block device mounting and
1302 <indexterm zone="ch-system-util-linux libmount">
1303 <primary sortas="c-libmount">libmount</primary>
1308 <varlistentry id="libsmartcols">
1309 <term><filename class="libraryfile">libsmartcols</filename></term>
1311 <para>Contains routines for aiding screen output in tabular form</para>
1312 <indexterm zone="ch-system-util-linux libsmartcols">
1313 <primary sortas="c-libsmartcols">libsmartcols</primary>
1318 <varlistentry id="libuuid">
1319 <term><filename class="libraryfile">libuuid</filename></term>
1321 <para>Contains routines for generating unique identifiers for objects
1322 that may be accessible beyond the local system</para>
1323 <indexterm zone="ch-system-util-linux libuuid">
1324 <primary sortas="c-libuuid">libuuid</primary>