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