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

clfs-3.0.0-systemd systemd
Last change on this file since 60552c1 was d1f79ab, checked in by Chris Staub <chris@…>, 11 years ago

Updates to package install lists

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