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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 9a995bd was c873165, checked in by William Harrington <kb0iic@…>, 11 years ago

Install documentation with versioned directory and add/update installed directories.

  • Property mode set to 100644
File size: 40.1 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
273 <varlistentry id="ddate">
274 <term><command>ddate</command></term>
275 <listitem>
276 <para>Gives the Discordian date or converts the given Gregorian date
277 to a Discordian one</para>
[9fedd70f]278 <indexterm zone="ch-system-util-linux ddate">
[3f8be484]279 <primary sortas="b-ddate">ddate</primary>
280 </indexterm>
281 </listitem>
282 </varlistentry>
283
[9e8d8ae]284 <varlistentry id="delpart">
285 <term><command>delpart</command></term>
286 <listitem>
287 <para>Asks the kernel to remove a partition</para>
[9fedd70f]288 <indexterm zone="ch-system-util-linux delpart">
[9e8d8ae]289 <primary sortas="b-delpart">delpart</primary>
290 </indexterm>
291 </listitem>
292 </varlistentry>
293
[3f8be484]294 <varlistentry id="dmesg">
295 <term><command>dmesg</command></term>
296 <listitem>
297 <para>Dumps the kernel boot messages</para>
[9fedd70f]298 <indexterm zone="ch-system-util-linux dmesg">
[3f8be484]299 <primary sortas="b-dmesg">dmesg</primary>
300 </indexterm>
301 </listitem>
302 </varlistentry>
303
[d9ed6c3]304 <varlistentry id="eject">
305 <term><command>eject</command></term>
306 <listitem>
307 <para>Eject removable media</para>
308 <indexterm zone="ch-system-util-linux eject">
309 <primary sortas="b-dmesg">eject</primary>
310 </indexterm>
311 </listitem>
312 </varlistentry>
313
[ba0660c]314 <varlistentry id="fallocate">
315 <term><command>fallocate</command></term>
316 <listitem>
317 <para>Preallocates space to a file</para>
318 <indexterm zone="ch-system-util-linux fallocate">
319 <primary sortas="b-fallocate">fallocate</primary>
320 </indexterm>
321 </listitem>
322 </varlistentry>
323
[3f8be484]324 <varlistentry id="fdformat">
325 <term><command>fdformat</command></term>
326 <listitem>
327 <para>Low-level formats a floppy disk</para>
[9fedd70f]328 <indexterm zone="ch-system-util-linux fdformat">
[3f8be484]329 <primary sortas="b-fdformat">fdformat</primary>
330 </indexterm>
331 </listitem>
332 </varlistentry>
333
334 <varlistentry id="fdisk">
335 <term><command>fdisk</command></term>
336 <listitem>
337 <para>Manipulates the partition table of the given device</para>
[9fedd70f]338 <indexterm zone="ch-system-util-linux fdisk">
[3f8be484]339 <primary sortas="b-fdisk">fdisk</primary>
340 </indexterm>
341 </listitem>
342 </varlistentry>
343
[188b6b2]344 <varlistentry id="findfs">
345 <term><command>findfs</command></term>
346 <listitem>
347 <para>Finds a file system by label or Universally Unique Identifier
348 (UUID)</para>
[9fedd70f]349 <indexterm zone="ch-system-util-linux findfs">
[188b6b2]350 <primary sortas="b-findfs">findfs</primary>
351 </indexterm>
352 </listitem>
353 </varlistentry>
354
[ba0660c]355 <varlistentry id="findmnt">
356 <term><command>findmnt</command></term>
357 <listitem>
358 <para>Lists mounted filesystems or searches for a filesystem</para>
359 <indexterm zone="ch-system-util-linux findmnt">
360 <primary sortas="b-findmnt">findmnt</primary>
361 </indexterm>
362 </listitem>
363 </varlistentry>
364
[e29fb58]365 <varlistentry id="flock">
366 <term><command>flock</command></term>
367 <listitem>
368 <para>Acquires a file lock and then executes a command with the lock
369 held</para>
[9fedd70f]370 <indexterm zone="ch-system-util-linux flock">
[e29fb58]371 <primary sortas="b-flock">flock</primary>
372 </indexterm>
373 </listitem>
374 </varlistentry>
375
[bed3adf]376 <varlistentry id="fsck">
377 <term><command>fsck</command></term>
378 <listitem>
379 <para>Is used to check, and optionally repair, file systems</para>
[9fedd70f]380 <indexterm zone="ch-system-util-linux fsck">
[bed3adf]381 <primary sortas="b-fsck">fsck</primary>
382 </indexterm>
383 </listitem>
384 </varlistentry>
385
[3f8be484]386 <varlistentry id="fsck.cramfs">
387 <term><command>fsck.cramfs</command></term>
388 <listitem>
389 <para>Performs a consistency check on the Cramfs file system on the
390 given device</para>
[9fedd70f]391 <indexterm zone="ch-system-util-linux fsck.cramfs">
[3f8be484]392 <primary sortas="b-fsck.cramfs">fsck.cramfs</primary>
393 </indexterm>
394 </listitem>
395 </varlistentry>
396
397 <varlistentry id="fsck.minix">
398 <term><command>fsck.minix</command></term>
399 <listitem>
400 <para>Performs a consistency check on the Minix file system on the
401 given device</para>
[9fedd70f]402 <indexterm zone="ch-system-util-linux fsck.minix">
[3f8be484]403 <primary sortas="b-fsck.minix">fsck.minix</primary>
404 </indexterm>
405 </listitem>
406 </varlistentry>
407
[ba0660c]408 <varlistentry id="fsfreeze">
409 <term><command>fsfreeze</command></term>
410 <listitem>
411 <para>Suspends and resumes access to a filesystem</para>
412 <indexterm zone="ch-system-util-linux fsfreeze">
413 <primary sortas="b-fsfreeze">fsfreeze</primary>
414 </indexterm>
415 </listitem>
416 </varlistentry>
417
418 <varlistentry id="fstrim">
419 <term><command>fstrim</command></term>
420 <listitem>
421 <para>Discards unused blocks on a mounted filesystem</para>
[91b8781]422 <indexterm zone="ch-system-util-linux fstrim">
[ba0660c]423 <primary sortas="b-fstrim">fstrim</primary>
424 </indexterm>
425 </listitem>
426 </varlistentry>
427
[3f8be484]428 <varlistentry id="getopt">
429 <term><command>getopt</command></term>
430 <listitem>
431 <para>Parses options in the given command line</para>
[9fedd70f]432 <indexterm zone="ch-system-util-linux getopt">
[3f8be484]433 <primary sortas="b-getopt">getopt</primary>
434 </indexterm>
435 </listitem>
436 </varlistentry>
437
438 <varlistentry id="hexdump">
439 <term><command>hexdump</command></term>
440 <listitem>
441 <para>Dumps the given file in hexadecimal or in another given
442 format</para>
[9fedd70f]443 <indexterm zone="ch-system-util-linux hexdump">
[3f8be484]444 <primary sortas="b-hexdump">hexdump</primary>
445 </indexterm>
446 </listitem>
447 </varlistentry>
448
449 <varlistentry id="hwclock">
450 <term><command>hwclock</command></term>
451 <listitem>
452 <para>Reads or sets the system's hardware clock, also called
453 the Real-Time Clock (RTC) or Basic Input-Output System (BIOS)
454 clock</para>
[9fedd70f]455 <indexterm zone="ch-system-util-linux hwclock">
[3f8be484]456 <primary sortas="b-hwclock">hwclock</primary>
457 </indexterm>
458 </listitem>
459 </varlistentry>
460
[9e8d8ae]461 <varlistentry id="ionice">
462 <term><command>ionice</command></term>
463 <listitem>
464 <para>Gives and sets program I/O scheduling class and priority</para>
[9fedd70f]465 <indexterm zone="ch-system-util-linux ionice">
[9e8d8ae]466 <primary sortas="b-ionice">ionice</primary>
467 </indexterm>
468 </listitem>
469 </varlistentry>
470
[2cca6fd]471 <varlistentry id="ipcmk">
472 <term><command>ipcmk</command></term>
473 <listitem>
474 <para>Creates various IPC resources</para>
[9fedd70f]475 <indexterm zone="ch-system-util-linux ipcmk">
[2cca6fd]476 <primary sortas="b-ipcmk">ipcmk</primary>
477 </indexterm>
478 </listitem>
479 </varlistentry>
480
[188b6b2]481 <varlistentry id="ipcrm">
482 <term><command>ipcrm</command></term>
483 <listitem>
484 <para>Removes the given Inter-Process Communication (IPC) resource</para>
[9fedd70f]485 <indexterm zone="ch-system-util-linux ipcrm">
[188b6b2]486 <primary sortas="b-ipcrm">ipcrm</primary>
487 </indexterm>
488 </listitem>
489 </varlistentry>
490
[3f8be484]491 <varlistentry id="ipcs">
492 <term><command>ipcs</command></term>
493 <listitem>
494 <para>Provides IPC status information</para>
[9fedd70f]495 <indexterm zone="ch-system-util-linux ipcs">
[3f8be484]496 <primary sortas="b-ipcs">ipcs</primary>
497 </indexterm>
498 </listitem>
499 </varlistentry>
500
501 <varlistentry id="isosize">
502 <term><command>isosize</command></term>
503 <listitem>
504 <para>Reports the size of an iso9660 file system</para>
[9fedd70f]505 <indexterm zone="ch-system-util-linux isosize">
[3f8be484]506 <primary sortas="b-isosize">isosize</primary>
507 </indexterm>
508 </listitem>
509 </varlistentry>
[5cc122c4]510
[748aac4]511 <varlistentry id="kill">
512 <term><command>kill</command></term>
[5cc122c4]513 <listitem>
[748aac4]514 <para>Send a signal to a process</para>
515 <indexterm zone="ch-system-util-linux kill">
516 <primary sortas="b-kill">kill</primary>
517 </indexterm>
518 </listitem>
519 </varlistentry>
520
[86e0296]521 <varlistentry id="last">
522 <term><command>last</command></term>
523 <listitem>
524 <para>Shows which users last logged in (and out), searching back
525 through the <filename>/var/log/wtmp</filename> file; it also shows
526 system boots, shutdowns, and run-level changes</para>
527 <indexterm zone="ch-system-util-linux last">
528 <primary sortas="b-last">last</primary>
529 </indexterm>
530 </listitem>
531 </varlistentry>
532
533 <varlistentry id="lastb">
534 <term><command>lastb</command></term>
535 <listitem>
536 <para>Shows the failed login attempts, as logged in
537 <filename>/var/log/btmp</filename></para>
538 <indexterm zone="ch-system-util-linux lastb">
539 <primary sortas="b-lastb">lastb</primary>
[5cc122c4]540 </indexterm>
541 </listitem>
542 </varlistentry>
[3f8be484]543
[5cc122c4]544 <varlistentry id="ldattach">
545 <term><command>ldattach</command></term>
[3f8be484]546 <listitem>
[5cc122c4]547 <para>Attaches a line discipline to a serial line</para>
[9fedd70f]548 <indexterm zone="ch-system-util-linux ldattach">
[5cc122c4]549 <primary sortas="b-ldattach">ldattach</primary>
[3f8be484]550 </indexterm>
551 </listitem>
552 </varlistentry>
553
554 <varlistentry id="logger">
555 <term><command>logger</command></term>
556 <listitem>
557 <para>Enters the given message into the system log</para>
[9fedd70f]558 <indexterm zone="ch-system-util-linux logger">
[3f8be484]559 <primary sortas="b-logger">logger</primary>
560 </indexterm>
561 </listitem>
562 </varlistentry>
563
564 <varlistentry id="look">
565 <term><command>look</command></term>
566 <listitem>
567 <para>Displays lines that begin with the given string</para>
[9fedd70f]568 <indexterm zone="ch-system-util-linux look">
[3f8be484]569 <primary sortas="b-look">look</primary>
570 </indexterm>
571 </listitem>
572 </varlistentry>
573
574 <varlistentry id="losetup">
575 <term><command>losetup</command></term>
576 <listitem>
577 <para>Sets up and controls loop devices</para>
[9fedd70f]578 <indexterm zone="ch-system-util-linux losetup">
[3f8be484]579 <primary sortas="b-losetup">losetup</primary>
580 </indexterm>
581 </listitem>
582 </varlistentry>
583
[ba0660c]584 <varlistentry id="lsblk">
585 <term><command>lsblk</command></term>
586 <listitem>
587 <para>Prints information about block devices</para>
588 <indexterm zone="ch-system-util-linux lsblk">
589 <primary sortas="b-lsblk">lsblk</primary>
590 </indexterm>
591 </listitem>
592 </varlistentry>
593
[2cca6fd]594 <varlistentry id="lscpu">
595 <term><command>lscpu</command></term>
596 <listitem>
[fe8dce3]597 <para>Prints CPU architecture information</para>
[9fedd70f]598 <indexterm zone="ch-system-util-linux lscpu">
[2cca6fd]599 <primary sortas="b-lscpu">lscpu</primary>
600 </indexterm>
601 </listitem>
602 </varlistentry>
603
[2b220db9]604 <varlistentry id="lslocks">
605 <term><command>lslocks</command></term>
606 <listitem>
607 <para>Lists local system locks</para>
608 <indexterm zone="ch-system-util-linux lslocks">
609 <primary sortas="b-lslocks">lslocks</primary>
610 </indexterm>
611 </listitem>
612 </varlistentry>
613
[3f8be484]614 <varlistentry id="mcookie">
615 <term><command>mcookie</command></term>
616 <listitem>
617 <para>Generates magic cookies (128-bit random hexadecimal numbers) for
618 <command>xauth</command></para>
[9fedd70f]619 <indexterm zone="ch-system-util-linux mcookie">
[3f8be484]620 <primary sortas="b-mcookie">mcookie</primary>
621 </indexterm>
622 </listitem>
623 </varlistentry>
624
[86e0296]625 <varlistentry id="mesg">
626 <term><command>mesg</command></term>
627 <listitem>
628 <para>Controls whether other users can send messages to the current
629 user's terminal</para>
630 <indexterm zone="ch-system-util-linux mesg">
631 <primary sortas="b-mesg">mesg</primary>
632 </indexterm>
633 </listitem>
634 </varlistentry>
635
[3f8be484]636 <varlistentry id="mkfs">
637 <term><command>mkfs</command></term>
638 <listitem>
639 <para>Builds a file system on a device (usually a hard disk
640 partition)</para>
[9fedd70f]641 <indexterm zone="ch-system-util-linux mkfs">
[3f8be484]642 <primary sortas="b-mkfs">mkfs</primary>
643 </indexterm>
644 </listitem>
645 </varlistentry>
646
647 <varlistentry id="mkfs.bfs">
648 <term><command>mkfs.bfs</command></term>
649 <listitem>
650 <para>Creates a Santa Cruz Operations (SCO) bfs file system</para>
[9fedd70f]651 <indexterm zone="ch-system-util-linux mkfs.bfs">
[3f8be484]652 <primary sortas="b-mkfs.bfs">mkfs.bfs</primary>
653 </indexterm>
654 </listitem>
655 </varlistentry>
656
657 <varlistentry id="mkfs.cramfs">
658 <term><command>mkfs.cramfs</command></term>
659 <listitem>
660 <para>Creates a cramfs file system</para>
[9fedd70f]661 <indexterm zone="ch-system-util-linux mkfs.cramfs">
[3f8be484]662 <primary sortas="b-mkfs.cramfs">mkfs.cramfs</primary>
663 </indexterm>
664 </listitem>
665 </varlistentry>
666
667 <varlistentry id="mkfs.minix">
668 <term><command>mkfs.minix</command></term>
669 <listitem>
670 <para>Creates a Minix file system</para>
[9fedd70f]671 <indexterm zone="ch-system-util-linux mkfs.minix">
[3f8be484]672 <primary sortas="b-mkfs.minix">mkfs.minix</primary>
673 </indexterm>
674 </listitem>
675 </varlistentry>
676
677 <varlistentry id="mkswap">
678 <term><command>mkswap</command></term>
679 <listitem>
680 <para>Initializes the given device or file to be used as a swap
681 area</para>
[9fedd70f]682 <indexterm zone="ch-system-util-linux mkswap">
[3f8be484]683 <primary sortas="b-mkswap">mkswap</primary>
684 </indexterm>
685 </listitem>
686 </varlistentry>
687
688 <varlistentry id="more">
689 <term><command>more</command></term>
690 <listitem>
691 <para>A filter for paging through text one screen at a time</para>
[9fedd70f]692 <indexterm zone="ch-system-util-linux more">
[3f8be484]693 <primary sortas="b-more">more</primary>
694 </indexterm>
695 </listitem>
696 </varlistentry>
697
698 <varlistentry id="mount">
699 <term><command>mount</command></term>
700 <listitem>
701 <para>Attaches the file system on the given device to a specified
702 directory in the file-system tree</para>
[9fedd70f]703 <indexterm zone="ch-system-util-linux mount">
[3f8be484]704 <primary sortas="b-mount">mount</primary>
705 </indexterm>
706 </listitem>
707 </varlistentry>
708
[8724dd0]709 <varlistentry id="mountpoint">
710 <term><command>mountpoint</command></term>
711 <listitem>
712 <para>Tells you whether or not a directory is a mount point.</para>
713 <indexterm zone="ch-system-util-linux mountpoint">
714 <primary sortas="b-mountpoint">mountpoint</primary>
715 </indexterm>
716 </listitem>
717 </varlistentry>
718
[3f8be484]719 <varlistentry id="namei">
720 <term><command>namei</command></term>
721 <listitem>
722 <para>Shows the symbolic links in the given pathnames</para>
[9fedd70f]723 <indexterm zone="ch-system-util-linux namei">
[3f8be484]724 <primary sortas="b-namei">namei</primary>
725 </indexterm>
726 </listitem>
727 </varlistentry>
728
[0a6ea84]729 <varlistentry id="nologin">
730 <term><command>nologin</command></term>
731 <listitem>
732 <para>Displays a message that an account is not available. Designed
733 to be used as the default shell for accounts that have been
734 disabled</para>
735 <indexterm zone="ch-system-util-linux nologin">
736 <primary sortas="b-nologin">nologin</primary>
737 </indexterm>
738 </listitem>
739 </varlistentry>
740
[59d58ea]741 <varlistentry id="nsenter">
742 <term><command>nsenter</command></term>
743 <listitem>
744 <para>Runs a program with namespaces of other processes</para>
745 <indexterm zone="ch-system-util-linux nsenter">
746 <primary sortas="b-nsenter">nsenter</primary>
747 </indexterm>
748 </listitem>
749 </varlistentry>
750
[9e8d8ae]751 <varlistentry id="partx">
752 <term><command>partx</command></term>
753 <listitem>
754 <para>Tells the kernel about the presence and numbering of on-disk
755 partitions</para>
[9fedd70f]756 <indexterm zone="ch-system-util-linux partx">
[9e8d8ae]757 <primary sortas="b-partx">partx</primary>
758 </indexterm>
759 </listitem>
760 </varlistentry>
761
[3f8be484]762 <varlistentry id="pg">
763 <term><command>pg</command></term>
764 <listitem>
765 <para>Displays a text file one screen full at a time</para>
[9fedd70f]766 <indexterm zone="ch-system-util-linux pg">
[3f8be484]767 <primary sortas="b-pg">pg</primary>
768 </indexterm>
769 </listitem>
770 </varlistentry>
771
772 <varlistentry id="pivot_root">
773 <term><command>pivot_root</command></term>
774 <listitem>
775 <para>Makes the given file system the new root file system of the
776 current process</para>
[9fedd70f]777 <indexterm zone="ch-system-util-linux pivot_root">
[3f8be484]778 <primary sortas="b-pivot_root">pivot_root</primary>
779 </indexterm>
780 </listitem>
781 </varlistentry>
782
[2b220db9]783 <varlistentry id="prlimit">
784 <term><command>prlimit</command></term>
785 <listitem>
786 <para>Gets and sets a process' resource limits</para>
787 <indexterm zone="ch-system-util-linux prlimit">
788 <primary sortas="b-prlimit">prlimit</primary>
789 </indexterm>
790 </listitem>
791 </varlistentry>
792
793 <varlistentry id="raw">
794 <term><command>raw</command></term>
795 <listitem>
796 <para>Binds a Linux raw character device to a block device</para>
797 <indexterm zone="ch-system-util-linux raw">
798 <primary sortas="b-raw">raw</primary>
799 </indexterm>
800 </listitem>
801 </varlistentry>
802
[3f8be484]803 <varlistentry id="readprofile">
804 <term><command>readprofile</command></term>
805 <listitem>
806 <para>Reads kernel profiling information</para>
[9fedd70f]807 <indexterm zone="ch-system-util-linux readprofile">
[3f8be484]808 <primary sortas="b-readprofile">readprofile</primary>
809 </indexterm>
810 </listitem>
811 </varlistentry>
812
813 <varlistentry id="rename">
814 <term><command>rename</command></term>
815 <listitem>
816 <para>Renames the given files, replacing a given string with
817 another</para>
[9fedd70f]818 <indexterm zone="ch-system-util-linux rename">
[3f8be484]819 <primary sortas="b-rename">rename</primary>
820 </indexterm>
821 </listitem>
822 </varlistentry>
823
824 <varlistentry id="renice">
825 <term><command>renice</command></term>
826 <listitem>
827 <para>Alters the priority of running processes</para>
[9fedd70f]828 <indexterm zone="ch-system-util-linux renice">
[3f8be484]829 <primary sortas="b-renice">renice</primary>
830 </indexterm>
831 </listitem>
832 </varlistentry>
833
[2b220db9]834 <varlistentry id="resizepart">
835 <term><command>resizepart</command></term>
836 <listitem>
837 <para>Asks the Linux kernel to resize a partition</para>
838 <indexterm zone="ch-system-util-linux resizepart">
839 <primary sortas="b-resizepart">resizepart</primary>
840 </indexterm>
841 </listitem>
842 </varlistentry>
843
[3f8be484]844 <varlistentry id="rev">
845 <term><command>rev</command></term>
846 <listitem>
847 <para>Reverses the lines of a given file</para>
[9fedd70f]848 <indexterm zone="ch-system-util-linux rev">
[3f8be484]849 <primary sortas="b-rev">rev</primary>
850 </indexterm>
851 </listitem>
852 </varlistentry>
853
[9e8d8ae]854 <varlistentry id="rtcwake">
855 <term><command>rtcwake</command></term>
856 <listitem>
857 <para>Enters a system sleep state until a specified wakeup time</para>
[9fedd70f]858 <indexterm zone="ch-system-util-linux rtcwake">
[9e8d8ae]859 <primary sortas="b-rtcwake">rtcwake</primary>
860 </indexterm>
861 </listitem>
862 </varlistentry>
863
[3f8be484]864 <varlistentry id="script">
865 <term><command>script</command></term>
866 <listitem>
867 <para>Makes a typescript of a terminal session</para>
[9fedd70f]868 <indexterm zone="ch-system-util-linux script">
[3f8be484]869 <primary sortas="b-script">script</primary>
870 </indexterm>
871 </listitem>
872 </varlistentry>
873
[9e8d8ae]874 <varlistentry id="scriptreplay">
875 <term><command>scriptreplay</command></term>
876 <listitem>
877 <para>Plays back typescripts created by <command>script</command></para>
[9fedd70f]878 <indexterm zone="ch-system-util-linux scriptreplay">
[9e8d8ae]879 <primary sortas="b-scriptreplay">scriptreplay</primary>
880 </indexterm>
881 </listitem>
882 </varlistentry>
883
884 <varlistentry id="setarch">
885 <term><command>setarch</command></term>
886 <listitem>
887 <para>Changes reported architecture in new program environment and
888 sets personality flags</para>
[9fedd70f]889 <indexterm zone="ch-system-util-linux setarch">
[9e8d8ae]890 <primary sortas="b-setarch">setarch</primary>
891 </indexterm>
892 </listitem>
893 </varlistentry>
894
[3f8be484]895 <varlistentry id="setsid">
896 <term><command>setsid</command></term>
897 <listitem>
898 <para>Runs the given program in a new session</para>
[9fedd70f]899 <indexterm zone="ch-system-util-linux setsid">
[3f8be484]900 <primary sortas="b-setsid">setsid</primary>
901 </indexterm>
902 </listitem>
903 </varlistentry>
904
905 <varlistentry id="setterm">
906 <term><command>setterm</command></term>
907 <listitem>
908 <para>Sets terminal attributes</para>
[9fedd70f]909 <indexterm zone="ch-system-util-linux setterm">
[3f8be484]910 <primary sortas="b-setterm">setterm</primary>
911 </indexterm>
912 </listitem>
913 </varlistentry>
914
915 <varlistentry id="sfdisk">
916 <term><command>sfdisk</command></term>
917 <listitem>
918 <para>A disk partition table manipulator</para>
[9fedd70f]919 <indexterm zone="ch-system-util-linux sfdisk">
[3f8be484]920 <primary sortas="b-sfdisk">sfdisk</primary>
921 </indexterm>
922 </listitem>
923 </varlistentry>
924
[996b49f5]925 <varlistentry id="sulogin">
926 <term><command>sulogin</command></term>
927 <listitem>
928 <para>Allows <emphasis>root</emphasis> to log in; it is normally
929 invoked by <command>init</command> when the system goes into single
930 user mode</para>
931 <indexterm zone="ch-system-util-linux sulogin">
932 <primary sortas="b-sulogin">sulogin</primary>
933 </indexterm>
934 </listitem>
935 </varlistentry>
936
[ba0660c]937 <varlistentry id="swaplabel">
938 <term><command>swaplabel</command></term>
939 <listitem>
940 <para>Prints or changes the label or UUID of a swap area</para>
941 <indexterm zone="ch-system-util-linux swaplabel">
942 <primary sortas="b-swaplabel">swaplabel</primary>
943 </indexterm>
944 </listitem>
945 </varlistentry>
946
[3f8be484]947 <varlistentry id="swapoff">
948 <term><command>swapoff</command></term>
949 <listitem>
950 <para>Disables devices and files for paging and swapping</para>
[9fedd70f]951 <indexterm zone="ch-system-util-linux swapoff">
[3f8be484]952 <primary sortas="b-swapoff">swapoff</primary>
953 </indexterm>
954 </listitem>
955 </varlistentry>
956
957 <varlistentry id="swapon">
958 <term><command>swapon</command></term>
959 <listitem>
960 <para>Enables devices and files for paging and swapping and
961 lists the devices and files currently in use</para>
[9fedd70f]962 <indexterm zone="ch-system-util-linux swapon">
[3f8be484]963 <primary sortas="b-swapon">swapon</primary>
964 </indexterm>
965 </listitem>
966 </varlistentry>
967
[188b6b2]968 <varlistentry id="switch_root">
969 <term><command>switch_root</command></term>
970 <listitem>
971 <para>Switches to another filesystem as the root of the mount tree</para>
[9fedd70f]972 <indexterm zone="ch-system-util-linux switch_root">
[188b6b2]973 <primary sortas="b-switch_root">switch_root</primary>
974 </indexterm>
975 </listitem>
976 </varlistentry>
977
[e29fb58]978 <varlistentry id="tailf">
979 <term><command>tailf</command></term>
980 <listitem>
981 <para>Tracks the growth of a log file. Displays the last 10 lines
982 of a log file, then continues displaying any new entries in the
983 log file as they are created</para>
[9fedd70f]984 <indexterm zone="ch-system-util-linux tailf">
[e29fb58]985 <primary sortas="b-tailf">tailf</primary>
986 </indexterm>
987 </listitem>
988 </varlistentry>
989
[9e8d8ae]990 <varlistentry id="taskset">
991 <term><command>taskset</command></term>
992 <listitem>
993 <para>Retrieves or sets a process's CPU affinity</para>
[9fedd70f]994 <indexterm zone="ch-system-util-linux taskset">
[9e8d8ae]995 <primary sortas="b-taskset">taskset</primary>
996 </indexterm>
997 </listitem>
998 </varlistentry>
999
[3f8be484]1000 <varlistentry id="ul">
1001 <term><command>ul</command></term>
1002 <listitem>
1003 <para>A filter for translating underscores into escape sequences
1004 indicating underlining for the terminal in use</para>
[9fedd70f]1005 <indexterm zone="ch-system-util-linux ul">
[3f8be484]1006 <primary sortas="b-ul">ul</primary>
1007 </indexterm>
1008 </listitem>
1009 </varlistentry>
1010
1011 <varlistentry id="umount">
1012 <term><command>umount</command></term>
1013 <listitem>
1014 <para>Disconnects a file system from the system's file tree</para>
[9fedd70f]1015 <indexterm zone="ch-system-util-linux umount">
[3f8be484]1016 <primary sortas="b-umount">umount</primary>
1017 </indexterm>
1018 </listitem>
1019 </varlistentry>
1020
[ba0660c]1021 <varlistentry id="unshare">
1022 <term><command>unshare</command></term>
1023 <listitem>
1024 <para>Runs a program with some namespaces unshared from parent</para>
1025 <indexterm zone="ch-system-util-linux unshare">
1026 <primary sortas="b-unshare">unshare</primary>
1027 </indexterm>
1028 </listitem>
1029 </varlistentry>
1030
[2d594b1]1031 <varlistentry id="utmpdump">
1032 <term><command>utmpdump</command></term>
1033 <listitem>
1034 <para>Displays the content of the given login file in a more
1035 user-friendly format</para>
1036 <indexterm zone="ch-system-util-linux utmpdump">
1037 <primary sortas="b-utmpdump">utmpdump</primary>
1038 </indexterm>
1039 </listitem>
1040 </varlistentry>
1041
[188b6b2]1042 <varlistentry id="uuidd">
1043 <term><command>uuidd</command></term>
1044 <listitem>
1045 <para>A daemon used by the UUID library to generate time-based
1046 UUIDs in a secure and guranteed-unique fashion.</para>
[9fedd70f]1047 <indexterm zone="ch-system-util-linux uuidd">
[188b6b2]1048 <primary sortas="b-uuidd">uuidd</primary>
1049 </indexterm>
1050 </listitem>
1051 </varlistentry>
1052
1053 <varlistentry id="uuidgen">
1054 <term><command>uuidgen</command></term>
1055 <listitem>
1056 <para>Creates new UUIDs. Each new UUID can reasonably be considered
1057 unique among all UUIDs created, on the local system and on other
1058 systems, in the past and in the future</para>
[9fedd70f]1059 <indexterm zone="ch-system-util-linux uuidgen">
[188b6b2]1060 <primary sortas="b-uuidgen">uuidgen</primary>
1061 </indexterm>
1062 </listitem>
1063 </varlistentry>
1064
[5a6ba9e]1065 <varlistentry id="wall">
1066 <term><command>wall</command></term>
1067 <listitem>
1068 <para>Writes a message to all logged-in users</para>
1069 <indexterm zone="ch-system-util-linux wall">
1070 <primary sortas="b-wall">wall</primary>
1071 </indexterm>
1072 </listitem>
1073 </varlistentry>
1074
[a318e22]1075 <varlistentry id="wdctl">
1076 <term><command>wdctl</command></term>
1077 <listitem>
1078 <para>Show hardware watchdog status</para>
1079 <indexterm zone="ch-system-util-linux wdctl">
1080 <primary sortas="b-uuidgen">wdctl</primary>
1081 </indexterm>
1082 </listitem>
1083 </varlistentry>
1084
[3f8be484]1085 <varlistentry id="whereis">
1086 <term><command>whereis</command></term>
1087 <listitem>
1088 <para>Reports the location of the binary, source, and man page
1089 for the given command</para>
[9fedd70f]1090 <indexterm zone="ch-system-util-linux whereis">
[3f8be484]1091 <primary sortas="b-whereis">whereis</primary>
1092 </indexterm>
1093 </listitem>
1094 </varlistentry>
1095
[ba0660c]1096 <varlistentry id="wipefs">
1097 <term><command>wipefs</command></term>
1098 <listitem>
1099 <para>Wipes a filesystem signature from a device</para>
1100 <indexterm zone="ch-system-util-linux wipefs">
1101 <primary sortas="b-wipefs">wipefs</primary>
1102 </indexterm>
1103 </listitem>
1104 </varlistentry>
1105
[3f8be484]1106 <varlistentry id="write">
1107 <term><command>write</command></term>
1108 <listitem>
1109 <para>Sends a message to the given user <emphasis>if</emphasis> that
1110 user has not disabled receipt of such messages</para>
[9fedd70f]1111 <indexterm zone="ch-system-util-linux write">
[3f8be484]1112 <primary sortas="b-write">write</primary>
1113 </indexterm>
1114 </listitem>
1115 </varlistentry>
1116
[98c59fa]1117 <varlistentry id="libblkid">
1118 <term><filename class="libraryfile">libblkid</filename></term>
1119 <listitem>
1120 <para>Contains routines for device identification and token
1121 extraction</para>
[9fedd70f]1122 <indexterm zone="ch-system-util-linux libblkid">
[98c59fa]1123 <primary sortas="c-libblkid">libblkid</primary>
1124 </indexterm>
1125 </listitem>
1126 </varlistentry>
1127
[ba0660c]1128 <varlistentry id="libmount">
1129 <term><filename class="libraryfile">libmount</filename></term>
1130 <listitem>
1131 <para>Contains routines for parsing the
1132 <filename>/etc/fstab</filename>, <filename>/etc/mtab</filename>,
1133 and <filename>/proc/self/mountinfo</filename> files, managing
1134 <filename>/etc/mtab</filename>, and configuring various mount
1135 options</para>
1136 <indexterm zone="ch-system-util-linux libmount">
1137 <primary sortas="c-libmount">libmount</primary>
1138 </indexterm>
1139 </listitem>
1140 </varlistentry>
1141
[98c59fa]1142 <varlistentry id="libuuid">
1143 <term><filename class="libraryfile">libuuid</filename></term>
1144 <listitem>
1145 <para>Contains routines for generating unique identifiers for objects
1146 that may be accessible beyond the local system</para>
[9fedd70f]1147 <indexterm zone="ch-system-util-linux libuuid">
[98c59fa]1148 <primary sortas="c-libuuid">libuuid</primary>
1149 </indexterm>
1150 </listitem>
1151 </varlistentry>
1152
[3f8be484]1153 </variablelist>
1154
1155 </sect2>
1156
1157</sect1>
Note: See TracBrowser for help on using the repository browser.