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

systemd
Last change on this file since b65829f was 0fc2814, checked in by William Harrington <kb0iic@…>, 10 years ago

Add ADJTIME_PATH variable during configure for setting the adjtime path rather than use a sed.

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