[02095ae] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[c439b8a] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[02095ae] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[3a5c139] | 8 | <sect1 id="ch-system-util-linux-ng" role="wrap">
|
---|
| 9 | <?dbhtml filename="util-linux-ng.html"?>
|
---|
[02095ae] | 10 |
|
---|
[3a5c139] | 11 | <title>Util-linux-ng-&util-linux-ng-version;</title>
|
---|
[02095ae] | 12 |
|
---|
[3a5c139] | 13 | <indexterm zone="ch-system-util-linux-ng">
|
---|
| 14 | <primary sortas="a-Util-linux-ng">Util-linux-ng</primary>
|
---|
[02095ae] | 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
[3a5c139] | 20 | <para>The Util-linux-ng package contains miscellaneous utility programs.
|
---|
[02095ae] | 21 | Among them are utilities for handling file systems, consoles, partitions,
|
---|
| 22 | and messages.</para>
|
---|
| 23 |
|
---|
| 24 | </sect2>
|
---|
| 25 |
|
---|
[12e6567] | 26 | &env-target;
|
---|
| 27 |
|
---|
[3a5c139] | 28 | <sect2 id="fhs-util-linux-ng" role="installation">
|
---|
[02095ae] | 29 | <title>FHS compliance notes</title>
|
---|
| 30 |
|
---|
| 31 | <para>The FHS recommends using the <filename
|
---|
| 32 | class="directory">/var/lib/hwclock</filename> directory instead of the
|
---|
| 33 | usual <filename class="directory">/etc</filename> directory as the
|
---|
| 34 | location for the <filename>adjtime</filename> file. To make the
|
---|
| 35 | <command>hwclock</command> program FHS-compliant, run the following:</para>
|
---|
| 36 |
|
---|
[3349a3a] | 37 | <screen><userinput>cp hwclock/hwclock.c{,.orig}
|
---|
[3a5c139] | 38 | sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
|
---|
[73b1cbb] | 39 | hwclock/hwclock.c.orig > hwclock/hwclock.c
|
---|
[0cebd47] | 40 | mkdir -pv ${CLFS}/var/lib/hwclock</userinput></screen>
|
---|
[02095ae] | 41 |
|
---|
| 42 | </sect2>
|
---|
| 43 |
|
---|
| 44 | <sect2 role="installation">
|
---|
[3a5c139] | 45 | <title>Installation of Util-linux-ng</title>
|
---|
[02095ae] | 46 |
|
---|
[3a5c139] | 47 | <para os="a">Prepare Util-linux-ng for compilation:</para>
|
---|
[02095ae] | 48 |
|
---|
[3a5c139] | 49 | <screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
|
---|
[6587192] | 50 | --enable-arch --enable-partx --disable-wall \
|
---|
| 51 | --enable-write --disable-makeinstall-chown</userinput></screen>
|
---|
[02095ae] | 52 |
|
---|
[3c23e03] | 53 | <variablelist os="c">
|
---|
| 54 | <title>The meaning of the configure options:</title>
|
---|
[02095ae] | 55 |
|
---|
[3c23e03] | 56 | <varlistentry>
|
---|
[6587192] | 57 | <term><parameter>--enable-arch</parameter></term>
|
---|
[3c23e03] | 58 | <listitem>
|
---|
[6587192] | 59 | <para>This option allows the <command>arch</command> program to be
|
---|
| 60 | installed.</para>
|
---|
[3c23e03] | 61 | </listitem>
|
---|
| 62 | </varlistentry>
|
---|
| 63 |
|
---|
| 64 | <varlistentry>
|
---|
[6587192] | 65 | <term><parameter>--enable-partx</parameter></term>
|
---|
[3c23e03] | 66 | <listitem>
|
---|
[6587192] | 67 | <para>Enables building the <command>addpart</command>, <command>delpart</command>,
|
---|
| 68 | <command>partx</command> programs.</para>
|
---|
[3c23e03] | 69 | </listitem>
|
---|
| 70 | </varlistentry>
|
---|
| 71 |
|
---|
| 72 | <varlistentry>
|
---|
| 73 | <term><parameter>--enable-write</parameter></term>
|
---|
| 74 | <listitem>
|
---|
| 75 | <para>This option allows the <command>write</command> program to be
|
---|
| 76 | installed.</para>
|
---|
| 77 | </listitem>
|
---|
| 78 | </varlistentry>
|
---|
| 79 |
|
---|
[846eed7] | 80 | <varlistentry>
|
---|
[6587192] | 81 | <term><parameter>--disable-wall</parameter></term>
|
---|
[846eed7] | 82 | <listitem>
|
---|
[6587192] | 83 | <para>Disables building the <command>wall</command> program,
|
---|
| 84 | as the Sysvinit package installs its own version.</para>
|
---|
[846eed7] | 85 | </listitem>
|
---|
| 86 | </varlistentry>
|
---|
| 87 |
|
---|
[3c23e03] | 88 | </variablelist>
|
---|
| 89 |
|
---|
| 90 | <para os="d">Compile the package:</para>
|
---|
| 91 |
|
---|
| 92 | <screen os="e"><userinput>make</userinput></screen>
|
---|
[02095ae] | 93 |
|
---|
[3c23e03] | 94 | <para os="f">Install the package:</para>
|
---|
[02095ae] | 95 |
|
---|
[3c23e03] | 96 | <screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
|
---|
| 97 |
|
---|
| 98 | <para os="h">Move the <command>logger</command> binary to
|
---|
| 99 | <filename class="directory">/bin</filename> as it is needed by the
|
---|
| 100 | CLFS-Bootscripts package:</para>
|
---|
| 101 |
|
---|
| 102 | <screen os="i"><userinput>mv -v ${CLFS}/usr/bin/logger ${CLFS}/bin</userinput></screen>
|
---|
[02095ae] | 103 |
|
---|
| 104 | </sect2>
|
---|
| 105 |
|
---|
[3a5c139] | 106 | <sect2 id="contents-util-linux-ng" role="content">
|
---|
| 107 | <title>Contents of Util-linux-ng</title>
|
---|
[02095ae] | 108 |
|
---|
| 109 | <segmentedlist>
|
---|
| 110 | <segtitle>Installed programs</segtitle>
|
---|
| 111 |
|
---|
| 112 | <seglistitem>
|
---|
[3c23e03] | 113 | <seg>addpart, agetty, blockdev, cal, cfdisk, chkdupexe, col, colcrt,
|
---|
| 114 | colrm, column, ctrlaltdel, cytune, ddate, delpart, dmesg, fdformat,
|
---|
| 115 | fdisk, flock, fsck.cramfs, fsck.minix, getopt, hexdump, hwclock, ionice,
|
---|
| 116 | ipcrm, ipcs, isosize, line, logger, look, losetup, mcookie, mkfs,
|
---|
| 117 | mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap, more, mount, namei, partx,
|
---|
| 118 | pg, pivot_root, readprofile, rename, renice, rev, rtcwake, script,
|
---|
| 119 | scriptreplay, setarch, setsid, setterm, sfdisk, swapoff (link to swapon),
|
---|
| 120 | swapon, tailf, taskset, tunelp, ul, umount, whereis, and write</seg>
|
---|
[02095ae] | 121 | </seglistitem>
|
---|
| 122 | </segmentedlist>
|
---|
| 123 |
|
---|
| 124 | <variablelist>
|
---|
| 125 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 126 | <?dbfo list-presentation="list"?>
|
---|
| 127 | <?dbhtml list-presentation="table"?>
|
---|
| 128 |
|
---|
[3c23e03] | 129 | <varlistentry id="addpart">
|
---|
| 130 | <term><command>addpart</command></term>
|
---|
| 131 | <listitem>
|
---|
| 132 | <para>Informs the kernel of a new partition</para>
|
---|
| 133 | <indexterm zone="ch-system-util-linux-ng addpart">
|
---|
| 134 | <primary sortas="b-addpart">addpart</primary>
|
---|
| 135 | </indexterm>
|
---|
| 136 | </listitem>
|
---|
| 137 | </varlistentry>
|
---|
| 138 |
|
---|
[02095ae] | 139 | <varlistentry id="agetty">
|
---|
| 140 | <term><command>agetty</command></term>
|
---|
| 141 | <listitem>
|
---|
| 142 | <para>Opens a tty port, prompts for a login name,
|
---|
| 143 | and then invokes the <command>login</command> program</para>
|
---|
[3a5c139] | 144 | <indexterm zone="ch-system-util-linux-ng agetty">
|
---|
[02095ae] | 145 | <primary sortas="b-agetty">agetty</primary>
|
---|
| 146 | </indexterm>
|
---|
| 147 | </listitem>
|
---|
| 148 | </varlistentry>
|
---|
| 149 |
|
---|
| 150 | <varlistentry id="blockdev">
|
---|
| 151 | <term><command>blockdev</command></term>
|
---|
| 152 | <listitem>
|
---|
| 153 | <para>Allows users to call block device ioctls from the command
|
---|
| 154 | line</para>
|
---|
[3a5c139] | 155 | <indexterm zone="ch-system-util-linux-ng blockdev">
|
---|
[02095ae] | 156 | <primary sortas="b-blockdev">blockdev</primary>
|
---|
| 157 | </indexterm>
|
---|
| 158 | </listitem>
|
---|
| 159 | </varlistentry>
|
---|
| 160 |
|
---|
| 161 | <varlistentry id="cal">
|
---|
| 162 | <term><command>cal</command></term>
|
---|
| 163 | <listitem>
|
---|
| 164 | <para>Displays a simple calendar</para>
|
---|
[3a5c139] | 165 | <indexterm zone="ch-system-util-linux-ng cal">
|
---|
[02095ae] | 166 | <primary sortas="b-cal">cal</primary>
|
---|
| 167 | </indexterm>
|
---|
| 168 | </listitem>
|
---|
| 169 | </varlistentry>
|
---|
| 170 |
|
---|
| 171 | <varlistentry id="cfdisk">
|
---|
| 172 | <term><command>cfdisk</command></term>
|
---|
| 173 | <listitem>
|
---|
| 174 | <para>Manipulates the partition table of the given device</para>
|
---|
[3a5c139] | 175 | <indexterm zone="ch-system-util-linux-ng cfdisk">
|
---|
[02095ae] | 176 | <primary sortas="b-cfdisk">cfdisk</primary>
|
---|
| 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
| 180 |
|
---|
| 181 | <varlistentry id="chkdupexe">
|
---|
| 182 | <term><command>chkdupexe</command></term>
|
---|
| 183 | <listitem>
|
---|
| 184 | <para>Finds duplicate executables</para>
|
---|
[3a5c139] | 185 | <indexterm zone="ch-system-util-linux-ng chkdupexe">
|
---|
[02095ae] | 186 | <primary sortas="b-chkdupexe">chkdupexe</primary>
|
---|
| 187 | </indexterm>
|
---|
| 188 | </listitem>
|
---|
| 189 | </varlistentry>
|
---|
| 190 |
|
---|
| 191 | <varlistentry id="col">
|
---|
| 192 | <term><command>col</command></term>
|
---|
| 193 | <listitem>
|
---|
| 194 | <para>Filters out reverse line feeds</para>
|
---|
[3a5c139] | 195 | <indexterm zone="ch-system-util-linux-ng col">
|
---|
[02095ae] | 196 | <primary sortas="b-col">col</primary>
|
---|
| 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
| 200 |
|
---|
| 201 | <varlistentry id="colcrt">
|
---|
| 202 | <term><command>colcrt</command></term>
|
---|
| 203 | <listitem>
|
---|
| 204 | <para>Filters <command>nroff</command> output for terminals
|
---|
| 205 | that lack some capabilities, such as overstriking and half-lines</para>
|
---|
[3a5c139] | 206 | <indexterm zone="ch-system-util-linux-ng colcrt">
|
---|
[02095ae] | 207 | <primary sortas="b-colcrt">colcrt</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
| 212 | <varlistentry id="colrm">
|
---|
| 213 | <term><command>colrm</command></term>
|
---|
| 214 | <listitem>
|
---|
| 215 | <para>Filters out the given columns</para>
|
---|
[3a5c139] | 216 | <indexterm zone="ch-system-util-linux-ng colrm">
|
---|
[02095ae] | 217 | <primary sortas="b-colrm">colrm</primary>
|
---|
| 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
| 222 | <varlistentry id="column">
|
---|
| 223 | <term><command>column</command></term>
|
---|
| 224 | <listitem>
|
---|
| 225 | <para>Formats a given file into multiple columns</para>
|
---|
[3a5c139] | 226 | <indexterm zone="ch-system-util-linux-ng column">
|
---|
[02095ae] | 227 | <primary sortas="b-column">column</primary>
|
---|
| 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 |
|
---|
| 232 | <varlistentry id="ctrlaltdel">
|
---|
| 233 | <term><command>ctrlaltdel</command></term>
|
---|
| 234 | <listitem>
|
---|
| 235 | <para>Sets the function of the Ctrl+Alt+Del key combination to a
|
---|
| 236 | hard or a soft reset</para>
|
---|
[3a5c139] | 237 | <indexterm zone="ch-system-util-linux-ng ctrlaltdel">
|
---|
[02095ae] | 238 | <primary sortas="b-ctrlaltdel">ctrlaltdel</primary>
|
---|
| 239 | </indexterm>
|
---|
| 240 | </listitem>
|
---|
| 241 | </varlistentry>
|
---|
| 242 |
|
---|
| 243 | <varlistentry id="cytune">
|
---|
| 244 | <term><command>cytune</command></term>
|
---|
| 245 | <listitem>
|
---|
| 246 | <para>Tunes the parameters of the serial line drivers for
|
---|
| 247 | Cyclades cards</para>
|
---|
[3a5c139] | 248 | <indexterm zone="ch-system-util-linux-ng cytune">
|
---|
[02095ae] | 249 | <primary sortas="b-cytune">cytune</primary>
|
---|
| 250 | </indexterm>
|
---|
| 251 | </listitem>
|
---|
| 252 | </varlistentry>
|
---|
| 253 |
|
---|
| 254 | <varlistentry id="ddate">
|
---|
| 255 | <term><command>ddate</command></term>
|
---|
| 256 | <listitem>
|
---|
| 257 | <para>Gives the Discordian date or converts the given Gregorian date
|
---|
| 258 | to a Discordian one</para>
|
---|
[3a5c139] | 259 | <indexterm zone="ch-system-util-linux-ng ddate">
|
---|
[02095ae] | 260 | <primary sortas="b-ddate">ddate</primary>
|
---|
| 261 | </indexterm>
|
---|
| 262 | </listitem>
|
---|
| 263 | </varlistentry>
|
---|
| 264 |
|
---|
[3c23e03] | 265 | <varlistentry id="delpart">
|
---|
| 266 | <term><command>delpart</command></term>
|
---|
[02095ae] | 267 | <listitem>
|
---|
[3c23e03] | 268 | <para>Asks the kernel to remove a partition</para>
|
---|
| 269 | <indexterm zone="ch-system-util-linux-ng delpart">
|
---|
| 270 | <primary sortas="b-delpart">delpart</primary>
|
---|
[02095ae] | 271 | </indexterm>
|
---|
| 272 | </listitem>
|
---|
| 273 | </varlistentry>
|
---|
| 274 |
|
---|
[3c23e03] | 275 | <varlistentry id="dmesg">
|
---|
| 276 | <term><command>dmesg</command></term>
|
---|
[02095ae] | 277 | <listitem>
|
---|
[3c23e03] | 278 | <para>Dumps the kernel boot messages</para>
|
---|
| 279 | <indexterm zone="ch-system-util-linux-ng dmesg">
|
---|
| 280 | <primary sortas="b-dmesg">dmesg</primary>
|
---|
[02095ae] | 281 | </indexterm>
|
---|
| 282 | </listitem>
|
---|
| 283 | </varlistentry>
|
---|
| 284 |
|
---|
| 285 | <varlistentry id="fdformat">
|
---|
| 286 | <term><command>fdformat</command></term>
|
---|
| 287 | <listitem>
|
---|
| 288 | <para>Low-level formats a floppy disk</para>
|
---|
[3a5c139] | 289 | <indexterm zone="ch-system-util-linux-ng fdformat">
|
---|
[02095ae] | 290 | <primary sortas="b-fdformat">fdformat</primary>
|
---|
| 291 | </indexterm>
|
---|
| 292 | </listitem>
|
---|
| 293 | </varlistentry>
|
---|
| 294 |
|
---|
| 295 | <varlistentry id="fdisk">
|
---|
| 296 | <term><command>fdisk</command></term>
|
---|
| 297 | <listitem>
|
---|
| 298 | <para>Manipulates the partition table of the given device</para>
|
---|
[3a5c139] | 299 | <indexterm zone="ch-system-util-linux-ng fdisk">
|
---|
[02095ae] | 300 | <primary sortas="b-fdisk">fdisk</primary>
|
---|
| 301 | </indexterm>
|
---|
| 302 | </listitem>
|
---|
| 303 | </varlistentry>
|
---|
| 304 |
|
---|
[82b662d] | 305 | <varlistentry id="flock">
|
---|
| 306 | <term><command>flock</command></term>
|
---|
| 307 | <listitem>
|
---|
| 308 | <para>Acquires a file lock and then executes a command with the lock
|
---|
| 309 | held</para>
|
---|
[3a5c139] | 310 | <indexterm zone="ch-system-util-linux-ng flock">
|
---|
[82b662d] | 311 | <primary sortas="b-flock">flock</primary>
|
---|
| 312 | </indexterm>
|
---|
| 313 | </listitem>
|
---|
| 314 | </varlistentry>
|
---|
| 315 |
|
---|
[02095ae] | 316 | <varlistentry id="fsck.cramfs">
|
---|
| 317 | <term><command>fsck.cramfs</command></term>
|
---|
| 318 | <listitem>
|
---|
| 319 | <para>Performs a consistency check on the Cramfs file system on the
|
---|
| 320 | given device</para>
|
---|
[3a5c139] | 321 | <indexterm zone="ch-system-util-linux-ng fsck.cramfs">
|
---|
[02095ae] | 322 | <primary sortas="b-fsck.cramfs">fsck.cramfs</primary>
|
---|
| 323 | </indexterm>
|
---|
| 324 | </listitem>
|
---|
| 325 | </varlistentry>
|
---|
| 326 |
|
---|
| 327 | <varlistentry id="fsck.minix">
|
---|
| 328 | <term><command>fsck.minix</command></term>
|
---|
| 329 | <listitem>
|
---|
| 330 | <para>Performs a consistency check on the Minix file system on the
|
---|
| 331 | given device</para>
|
---|
[3a5c139] | 332 | <indexterm zone="ch-system-util-linux-ng fsck.minix">
|
---|
[02095ae] | 333 | <primary sortas="b-fsck.minix">fsck.minix</primary>
|
---|
| 334 | </indexterm>
|
---|
| 335 | </listitem>
|
---|
| 336 | </varlistentry>
|
---|
| 337 |
|
---|
| 338 | <varlistentry id="getopt">
|
---|
| 339 | <term><command>getopt</command></term>
|
---|
| 340 | <listitem>
|
---|
| 341 | <para>Parses options in the given command line</para>
|
---|
[3a5c139] | 342 | <indexterm zone="ch-system-util-linux-ng getopt">
|
---|
[02095ae] | 343 | <primary sortas="b-getopt">getopt</primary>
|
---|
| 344 | </indexterm>
|
---|
| 345 | </listitem>
|
---|
| 346 | </varlistentry>
|
---|
| 347 |
|
---|
| 348 | <varlistentry id="hexdump">
|
---|
| 349 | <term><command>hexdump</command></term>
|
---|
| 350 | <listitem>
|
---|
| 351 | <para>Dumps the given file in hexadecimal or in another given
|
---|
| 352 | format</para>
|
---|
[3a5c139] | 353 | <indexterm zone="ch-system-util-linux-ng hexdump">
|
---|
[02095ae] | 354 | <primary sortas="b-hexdump">hexdump</primary>
|
---|
| 355 | </indexterm>
|
---|
| 356 | </listitem>
|
---|
| 357 | </varlistentry>
|
---|
| 358 |
|
---|
| 359 | <varlistentry id="hwclock">
|
---|
| 360 | <term><command>hwclock</command></term>
|
---|
| 361 | <listitem>
|
---|
| 362 | <para>Reads or sets the system's hardware clock, also called
|
---|
| 363 | the Real-Time Clock (RTC) or Basic Input-Output System (BIOS)
|
---|
| 364 | clock</para>
|
---|
[3a5c139] | 365 | <indexterm zone="ch-system-util-linux-ng hwclock">
|
---|
[02095ae] | 366 | <primary sortas="b-hwclock">hwclock</primary>
|
---|
| 367 | </indexterm>
|
---|
| 368 | </listitem>
|
---|
| 369 | </varlistentry>
|
---|
| 370 |
|
---|
[3c23e03] | 371 | <varlistentry id="ionice">
|
---|
| 372 | <term><command>ionice</command></term>
|
---|
| 373 | <listitem>
|
---|
| 374 | <para>Gives and sets program I/O scheduling class and priority</para>
|
---|
| 375 | <indexterm zone="ch-system-util-linux-ng ionice">
|
---|
| 376 | <primary sortas="b-ionice">ionice</primary>
|
---|
| 377 | </indexterm>
|
---|
| 378 | </listitem>
|
---|
| 379 | </varlistentry>
|
---|
| 380 |
|
---|
[02095ae] | 381 | <varlistentry id="ipcrm">
|
---|
| 382 | <term><command>ipcrm</command></term>
|
---|
| 383 | <listitem>
|
---|
| 384 | <para>Removes the given Inter-Process Communication (IPC) resource</para>
|
---|
[3a5c139] | 385 | <indexterm zone="ch-system-util-linux-ng ipcrm">
|
---|
[02095ae] | 386 | <primary sortas="b-ipcrm">ipcrm</primary>
|
---|
| 387 | </indexterm>
|
---|
| 388 | </listitem>
|
---|
| 389 | </varlistentry>
|
---|
| 390 |
|
---|
| 391 | <varlistentry id="ipcs">
|
---|
| 392 | <term><command>ipcs</command></term>
|
---|
| 393 | <listitem>
|
---|
| 394 | <para>Provides IPC status information</para>
|
---|
[3a5c139] | 395 | <indexterm zone="ch-system-util-linux-ng ipcs">
|
---|
[02095ae] | 396 | <primary sortas="b-ipcs">ipcs</primary>
|
---|
| 397 | </indexterm>
|
---|
| 398 | </listitem>
|
---|
| 399 | </varlistentry>
|
---|
| 400 |
|
---|
| 401 | <varlistentry id="isosize">
|
---|
| 402 | <term><command>isosize</command></term>
|
---|
| 403 | <listitem>
|
---|
| 404 | <para>Reports the size of an iso9660 file system</para>
|
---|
[3a5c139] | 405 | <indexterm zone="ch-system-util-linux-ng isosize">
|
---|
[02095ae] | 406 | <primary sortas="b-isosize">isosize</primary>
|
---|
| 407 | </indexterm>
|
---|
| 408 | </listitem>
|
---|
| 409 | </varlistentry>
|
---|
| 410 |
|
---|
| 411 | <varlistentry id="line">
|
---|
| 412 | <term><command>line</command></term>
|
---|
| 413 | <listitem>
|
---|
| 414 | <para>Copies a single line</para>
|
---|
[3a5c139] | 415 | <indexterm zone="ch-system-util-linux-ng line">
|
---|
[02095ae] | 416 | <primary sortas="b-line">line</primary>
|
---|
| 417 | </indexterm>
|
---|
| 418 | </listitem>
|
---|
| 419 | </varlistentry>
|
---|
| 420 |
|
---|
| 421 | <varlistentry id="logger">
|
---|
| 422 | <term><command>logger</command></term>
|
---|
| 423 | <listitem>
|
---|
| 424 | <para>Enters the given message into the system log</para>
|
---|
[3a5c139] | 425 | <indexterm zone="ch-system-util-linux-ng logger">
|
---|
[02095ae] | 426 | <primary sortas="b-logger">logger</primary>
|
---|
| 427 | </indexterm>
|
---|
| 428 | </listitem>
|
---|
| 429 | </varlistentry>
|
---|
| 430 |
|
---|
| 431 | <varlistentry id="look">
|
---|
| 432 | <term><command>look</command></term>
|
---|
| 433 | <listitem>
|
---|
| 434 | <para>Displays lines that begin with the given string</para>
|
---|
[3a5c139] | 435 | <indexterm zone="ch-system-util-linux-ng look">
|
---|
[02095ae] | 436 | <primary sortas="b-look">look</primary>
|
---|
| 437 | </indexterm>
|
---|
| 438 | </listitem>
|
---|
| 439 | </varlistentry>
|
---|
| 440 |
|
---|
| 441 | <varlistentry id="losetup">
|
---|
| 442 | <term><command>losetup</command></term>
|
---|
| 443 | <listitem>
|
---|
| 444 | <para>Sets up and controls loop devices</para>
|
---|
[3a5c139] | 445 | <indexterm zone="ch-system-util-linux-ng losetup">
|
---|
[02095ae] | 446 | <primary sortas="b-losetup">losetup</primary>
|
---|
| 447 | </indexterm>
|
---|
| 448 | </listitem>
|
---|
| 449 | </varlistentry>
|
---|
| 450 |
|
---|
| 451 | <varlistentry id="mcookie">
|
---|
| 452 | <term><command>mcookie</command></term>
|
---|
| 453 | <listitem>
|
---|
| 454 | <para>Generates magic cookies (128-bit random hexadecimal numbers) for
|
---|
| 455 | <command>xauth</command></para>
|
---|
[3a5c139] | 456 | <indexterm zone="ch-system-util-linux-ng mcookie">
|
---|
[02095ae] | 457 | <primary sortas="b-mcookie">mcookie</primary>
|
---|
| 458 | </indexterm>
|
---|
| 459 | </listitem>
|
---|
| 460 | </varlistentry>
|
---|
| 461 |
|
---|
| 462 | <varlistentry id="mkfs">
|
---|
| 463 | <term><command>mkfs</command></term>
|
---|
| 464 | <listitem>
|
---|
| 465 | <para>Builds a file system on a device (usually a hard disk
|
---|
| 466 | partition)</para>
|
---|
[3a5c139] | 467 | <indexterm zone="ch-system-util-linux-ng mkfs">
|
---|
[02095ae] | 468 | <primary sortas="b-mkfs">mkfs</primary>
|
---|
| 469 | </indexterm>
|
---|
| 470 | </listitem>
|
---|
| 471 | </varlistentry>
|
---|
| 472 |
|
---|
| 473 | <varlistentry id="mkfs.bfs">
|
---|
| 474 | <term><command>mkfs.bfs</command></term>
|
---|
| 475 | <listitem>
|
---|
| 476 | <para>Creates a Santa Cruz Operations (SCO) bfs file system</para>
|
---|
[3a5c139] | 477 | <indexterm zone="ch-system-util-linux-ng mkfs.bfs">
|
---|
[02095ae] | 478 | <primary sortas="b-mkfs.bfs">mkfs.bfs</primary>
|
---|
| 479 | </indexterm>
|
---|
| 480 | </listitem>
|
---|
| 481 | </varlistentry>
|
---|
| 482 |
|
---|
| 483 | <varlistentry id="mkfs.cramfs">
|
---|
| 484 | <term><command>mkfs.cramfs</command></term>
|
---|
| 485 | <listitem>
|
---|
| 486 | <para>Creates a cramfs file system</para>
|
---|
[3a5c139] | 487 | <indexterm zone="ch-system-util-linux-ng mkfs.cramfs">
|
---|
[02095ae] | 488 | <primary sortas="b-mkfs.cramfs">mkfs.cramfs</primary>
|
---|
| 489 | </indexterm>
|
---|
| 490 | </listitem>
|
---|
| 491 | </varlistentry>
|
---|
| 492 |
|
---|
| 493 | <varlistentry id="mkfs.minix">
|
---|
| 494 | <term><command>mkfs.minix</command></term>
|
---|
| 495 | <listitem>
|
---|
| 496 | <para>Creates a Minix file system</para>
|
---|
[3a5c139] | 497 | <indexterm zone="ch-system-util-linux-ng mkfs.minix">
|
---|
[02095ae] | 498 | <primary sortas="b-mkfs.minix">mkfs.minix</primary>
|
---|
| 499 | </indexterm>
|
---|
| 500 | </listitem>
|
---|
| 501 | </varlistentry>
|
---|
| 502 |
|
---|
| 503 | <varlistentry id="mkswap">
|
---|
| 504 | <term><command>mkswap</command></term>
|
---|
| 505 | <listitem>
|
---|
| 506 | <para>Initializes the given device or file to be used as a swap
|
---|
| 507 | area</para>
|
---|
[3a5c139] | 508 | <indexterm zone="ch-system-util-linux-ng mkswap">
|
---|
[02095ae] | 509 | <primary sortas="b-mkswap">mkswap</primary>
|
---|
| 510 | </indexterm>
|
---|
| 511 | </listitem>
|
---|
| 512 | </varlistentry>
|
---|
| 513 |
|
---|
| 514 | <varlistentry id="more">
|
---|
| 515 | <term><command>more</command></term>
|
---|
| 516 | <listitem>
|
---|
| 517 | <para>A filter for paging through text one screen at a time</para>
|
---|
[3a5c139] | 518 | <indexterm zone="ch-system-util-linux-ng more">
|
---|
[02095ae] | 519 | <primary sortas="b-more">more</primary>
|
---|
| 520 | </indexterm>
|
---|
| 521 | </listitem>
|
---|
| 522 | </varlistentry>
|
---|
| 523 |
|
---|
| 524 | <varlistentry id="mount">
|
---|
| 525 | <term><command>mount</command></term>
|
---|
| 526 | <listitem>
|
---|
| 527 | <para>Attaches the file system on the given device to a specified
|
---|
| 528 | directory in the file-system tree</para>
|
---|
[3a5c139] | 529 | <indexterm zone="ch-system-util-linux-ng mount">
|
---|
[02095ae] | 530 | <primary sortas="b-mount">mount</primary>
|
---|
| 531 | </indexterm>
|
---|
| 532 | </listitem>
|
---|
| 533 | </varlistentry>
|
---|
| 534 |
|
---|
| 535 | <varlistentry id="namei">
|
---|
| 536 | <term><command>namei</command></term>
|
---|
| 537 | <listitem>
|
---|
| 538 | <para>Shows the symbolic links in the given pathnames</para>
|
---|
[3a5c139] | 539 | <indexterm zone="ch-system-util-linux-ng namei">
|
---|
[02095ae] | 540 | <primary sortas="b-namei">namei</primary>
|
---|
| 541 | </indexterm>
|
---|
| 542 | </listitem>
|
---|
| 543 | </varlistentry>
|
---|
| 544 |
|
---|
[3c23e03] | 545 | <varlistentry id="partx">
|
---|
| 546 | <term><command>partx</command></term>
|
---|
| 547 | <listitem>
|
---|
| 548 | <para>Tells the kernel about the presence and numbering of on-disk
|
---|
| 549 | partitions</para>
|
---|
| 550 | <indexterm zone="ch-system-util-linux-ng partx">
|
---|
| 551 | <primary sortas="b-partx">partx</primary>
|
---|
| 552 | </indexterm>
|
---|
| 553 | </listitem>
|
---|
| 554 | </varlistentry>
|
---|
| 555 |
|
---|
[02095ae] | 556 | <varlistentry id="pg">
|
---|
| 557 | <term><command>pg</command></term>
|
---|
| 558 | <listitem>
|
---|
| 559 | <para>Displays a text file one screen full at a time</para>
|
---|
[3a5c139] | 560 | <indexterm zone="ch-system-util-linux-ng pg">
|
---|
[02095ae] | 561 | <primary sortas="b-pg">pg</primary>
|
---|
| 562 | </indexterm>
|
---|
| 563 | </listitem>
|
---|
| 564 | </varlistentry>
|
---|
| 565 |
|
---|
| 566 | <varlistentry id="pivot_root">
|
---|
| 567 | <term><command>pivot_root</command></term>
|
---|
| 568 | <listitem>
|
---|
| 569 | <para>Makes the given file system the new root file system of the
|
---|
| 570 | current process</para>
|
---|
[3a5c139] | 571 | <indexterm zone="ch-system-util-linux-ng pivot_root">
|
---|
[02095ae] | 572 | <primary sortas="b-pivot_root">pivot_root</primary>
|
---|
| 573 | </indexterm>
|
---|
| 574 | </listitem>
|
---|
| 575 | </varlistentry>
|
---|
| 576 |
|
---|
| 577 | <varlistentry id="readprofile">
|
---|
| 578 | <term><command>readprofile</command></term>
|
---|
| 579 | <listitem>
|
---|
| 580 | <para>Reads kernel profiling information</para>
|
---|
[3a5c139] | 581 | <indexterm zone="ch-system-util-linux-ng readprofile">
|
---|
[02095ae] | 582 | <primary sortas="b-readprofile">readprofile</primary>
|
---|
| 583 | </indexterm>
|
---|
| 584 | </listitem>
|
---|
| 585 | </varlistentry>
|
---|
| 586 |
|
---|
| 587 | <varlistentry id="rename">
|
---|
| 588 | <term><command>rename</command></term>
|
---|
| 589 | <listitem>
|
---|
| 590 | <para>Renames the given files, replacing a given string with
|
---|
| 591 | another</para>
|
---|
[3a5c139] | 592 | <indexterm zone="ch-system-util-linux-ng rename">
|
---|
[02095ae] | 593 | <primary sortas="b-rename">rename</primary>
|
---|
| 594 | </indexterm>
|
---|
| 595 | </listitem>
|
---|
| 596 | </varlistentry>
|
---|
| 597 |
|
---|
| 598 | <varlistentry id="renice">
|
---|
| 599 | <term><command>renice</command></term>
|
---|
| 600 | <listitem>
|
---|
| 601 | <para>Alters the priority of running processes</para>
|
---|
[3a5c139] | 602 | <indexterm zone="ch-system-util-linux-ng renice">
|
---|
[02095ae] | 603 | <primary sortas="b-renice">renice</primary>
|
---|
| 604 | </indexterm>
|
---|
| 605 | </listitem>
|
---|
| 606 | </varlistentry>
|
---|
| 607 |
|
---|
| 608 | <varlistentry id="rev">
|
---|
| 609 | <term><command>rev</command></term>
|
---|
| 610 | <listitem>
|
---|
| 611 | <para>Reverses the lines of a given file</para>
|
---|
[3a5c139] | 612 | <indexterm zone="ch-system-util-linux-ng rev">
|
---|
[02095ae] | 613 | <primary sortas="b-rev">rev</primary>
|
---|
| 614 | </indexterm>
|
---|
| 615 | </listitem>
|
---|
| 616 | </varlistentry>
|
---|
| 617 |
|
---|
[3c23e03] | 618 | <varlistentry id="rtcwake">
|
---|
| 619 | <term><command>rtcwake</command></term>
|
---|
[02095ae] | 620 | <listitem>
|
---|
[3c23e03] | 621 | <para>Enters a system sleep state until a specified wakeup time</para>
|
---|
| 622 | <indexterm zone="ch-system-util-linux-ng rtcwake">
|
---|
| 623 | <primary sortas="b-rtcwake">rtcwake</primary>
|
---|
[02095ae] | 624 | </indexterm>
|
---|
| 625 | </listitem>
|
---|
| 626 | </varlistentry>
|
---|
| 627 |
|
---|
| 628 | <varlistentry id="script">
|
---|
| 629 | <term><command>script</command></term>
|
---|
| 630 | <listitem>
|
---|
| 631 | <para>Makes a typescript of a terminal session</para>
|
---|
[3a5c139] | 632 | <indexterm zone="ch-system-util-linux-ng script">
|
---|
[02095ae] | 633 | <primary sortas="b-script">script</primary>
|
---|
| 634 | </indexterm>
|
---|
| 635 | </listitem>
|
---|
| 636 | </varlistentry>
|
---|
| 637 |
|
---|
[3c23e03] | 638 | <varlistentry id="scriptreplay">
|
---|
| 639 | <term><command>scriptreplay</command></term>
|
---|
| 640 | <listitem>
|
---|
| 641 | <para>Plays back typescripts created by <command>script</command></para>
|
---|
| 642 | <indexterm zone="ch-system-util-linux-ng scriptreplay">
|
---|
| 643 | <primary sortas="b-scriptreplay">scriptreplay</primary>
|
---|
| 644 | </indexterm>
|
---|
| 645 | </listitem>
|
---|
| 646 | </varlistentry>
|
---|
| 647 |
|
---|
| 648 | <varlistentry id="setarch">
|
---|
| 649 | <term><command>setarch</command></term>
|
---|
[02095ae] | 650 | <listitem>
|
---|
[3c23e03] | 651 | <para>Changes reported architecture in new program environment and
|
---|
| 652 | sets personality flags</para>
|
---|
| 653 | <indexterm zone="ch-system-util-linux-ng setarch">
|
---|
| 654 | <primary sortas="b-setarch">setarch</primary>
|
---|
[02095ae] | 655 | </indexterm>
|
---|
| 656 | </listitem>
|
---|
| 657 | </varlistentry>
|
---|
| 658 |
|
---|
| 659 | <varlistentry id="setsid">
|
---|
| 660 | <term><command>setsid</command></term>
|
---|
| 661 | <listitem>
|
---|
| 662 | <para>Runs the given program in a new session</para>
|
---|
[3a5c139] | 663 | <indexterm zone="ch-system-util-linux-ng setsid">
|
---|
[02095ae] | 664 | <primary sortas="b-setsid">setsid</primary>
|
---|
| 665 | </indexterm>
|
---|
| 666 | </listitem>
|
---|
| 667 | </varlistentry>
|
---|
| 668 |
|
---|
| 669 | <varlistentry id="setterm">
|
---|
| 670 | <term><command>setterm</command></term>
|
---|
| 671 | <listitem>
|
---|
| 672 | <para>Sets terminal attributes</para>
|
---|
[3a5c139] | 673 | <indexterm zone="ch-system-util-linux-ng setterm">
|
---|
[02095ae] | 674 | <primary sortas="b-setterm">setterm</primary>
|
---|
| 675 | </indexterm>
|
---|
| 676 | </listitem>
|
---|
| 677 | </varlistentry>
|
---|
| 678 |
|
---|
| 679 | <varlistentry id="sfdisk">
|
---|
| 680 | <term><command>sfdisk</command></term>
|
---|
| 681 | <listitem>
|
---|
| 682 | <para>A disk partition table manipulator</para>
|
---|
[3a5c139] | 683 | <indexterm zone="ch-system-util-linux-ng sfdisk">
|
---|
[02095ae] | 684 | <primary sortas="b-sfdisk">sfdisk</primary>
|
---|
| 685 | </indexterm>
|
---|
| 686 | </listitem>
|
---|
| 687 | </varlistentry>
|
---|
| 688 |
|
---|
| 689 | <varlistentry id="swapoff">
|
---|
| 690 | <term><command>swapoff</command></term>
|
---|
| 691 | <listitem>
|
---|
| 692 | <para>Disables devices and files for paging and swapping</para>
|
---|
[3a5c139] | 693 | <indexterm zone="ch-system-util-linux-ng swapoff">
|
---|
[02095ae] | 694 | <primary sortas="b-swapoff">swapoff</primary>
|
---|
| 695 | </indexterm>
|
---|
| 696 | </listitem>
|
---|
| 697 | </varlistentry>
|
---|
| 698 |
|
---|
| 699 | <varlistentry id="swapon">
|
---|
| 700 | <term><command>swapon</command></term>
|
---|
| 701 | <listitem>
|
---|
| 702 | <para>Enables devices and files for paging and swapping and
|
---|
| 703 | lists the devices and files currently in use</para>
|
---|
[3a5c139] | 704 | <indexterm zone="ch-system-util-linux-ng swapon">
|
---|
[02095ae] | 705 | <primary sortas="b-swapon">swapon</primary>
|
---|
| 706 | </indexterm>
|
---|
| 707 | </listitem>
|
---|
| 708 | </varlistentry>
|
---|
| 709 |
|
---|
[82b662d] | 710 | <varlistentry id="tailf">
|
---|
| 711 | <term><command>tailf</command></term>
|
---|
| 712 | <listitem>
|
---|
| 713 | <para>Tracks the growth of a log file. Displays the last 10 lines
|
---|
| 714 | of a log file, then continues displaying any new entries in the
|
---|
| 715 | log file as they are created</para>
|
---|
[3a5c139] | 716 | <indexterm zone="ch-system-util-linux-ng tailf">
|
---|
[82b662d] | 717 | <primary sortas="b-tailf">tailf</primary>
|
---|
| 718 | </indexterm>
|
---|
| 719 | </listitem>
|
---|
| 720 | </varlistentry>
|
---|
| 721 |
|
---|
[3c23e03] | 722 | <varlistentry id="taskset">
|
---|
| 723 | <term><command>taskset</command></term>
|
---|
| 724 | <listitem>
|
---|
| 725 | <para>Retrieves or sets a process's CPU affinity</para>
|
---|
| 726 | <indexterm zone="ch-system-util-linux-ng taskset">
|
---|
| 727 | <primary sortas="b-taskset">taskset</primary>
|
---|
| 728 | </indexterm>
|
---|
| 729 | </listitem>
|
---|
| 730 | </varlistentry>
|
---|
| 731 |
|
---|
[02095ae] | 732 | <varlistentry id="tunelp">
|
---|
| 733 | <term><command>tunelp</command></term>
|
---|
| 734 | <listitem>
|
---|
| 735 | <para>Tunes the parameters of the line printer</para>
|
---|
[3a5c139] | 736 | <indexterm zone="ch-system-util-linux-ng tunelp">
|
---|
[02095ae] | 737 | <primary sortas="b-tunelp">tunelp</primary>
|
---|
| 738 | </indexterm>
|
---|
| 739 | </listitem>
|
---|
| 740 | </varlistentry>
|
---|
| 741 |
|
---|
| 742 | <varlistentry id="ul">
|
---|
| 743 | <term><command>ul</command></term>
|
---|
| 744 | <listitem>
|
---|
| 745 | <para>A filter for translating underscores into escape sequences
|
---|
| 746 | indicating underlining for the terminal in use</para>
|
---|
[3a5c139] | 747 | <indexterm zone="ch-system-util-linux-ng ul">
|
---|
[02095ae] | 748 | <primary sortas="b-ul">ul</primary>
|
---|
| 749 | </indexterm>
|
---|
| 750 | </listitem>
|
---|
| 751 | </varlistentry>
|
---|
| 752 |
|
---|
| 753 | <varlistentry id="umount">
|
---|
| 754 | <term><command>umount</command></term>
|
---|
| 755 | <listitem>
|
---|
| 756 | <para>Disconnects a file system from the system's file tree</para>
|
---|
[3a5c139] | 757 | <indexterm zone="ch-system-util-linux-ng umount">
|
---|
[02095ae] | 758 | <primary sortas="b-umount">umount</primary>
|
---|
| 759 | </indexterm>
|
---|
| 760 | </listitem>
|
---|
| 761 | </varlistentry>
|
---|
| 762 |
|
---|
| 763 | <varlistentry id="whereis">
|
---|
| 764 | <term><command>whereis</command></term>
|
---|
| 765 | <listitem>
|
---|
| 766 | <para>Reports the location of the binary, source, and man page
|
---|
| 767 | for the given command</para>
|
---|
[3a5c139] | 768 | <indexterm zone="ch-system-util-linux-ng whereis">
|
---|
[02095ae] | 769 | <primary sortas="b-whereis">whereis</primary>
|
---|
| 770 | </indexterm>
|
---|
| 771 | </listitem>
|
---|
| 772 | </varlistentry>
|
---|
| 773 |
|
---|
| 774 | <varlistentry id="write">
|
---|
| 775 | <term><command>write</command></term>
|
---|
| 776 | <listitem>
|
---|
| 777 | <para>Sends a message to the given user <emphasis>if</emphasis> that
|
---|
| 778 | user has not disabled receipt of such messages</para>
|
---|
[3a5c139] | 779 | <indexterm zone="ch-system-util-linux-ng write">
|
---|
[02095ae] | 780 | <primary sortas="b-write">write</primary>
|
---|
| 781 | </indexterm>
|
---|
| 782 | </listitem>
|
---|
| 783 | </varlistentry>
|
---|
| 784 |
|
---|
| 785 | </variablelist>
|
---|
| 786 |
|
---|
| 787 | </sect2>
|
---|
| 788 |
|
---|
| 789 | </sect1>
|
---|