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

Last change on this file since 25aa19e was 686839b, checked in by William Harrington <kb0iic@…>, 11 years ago

Add screen tags around userinput test commands and remap userinput for test commands as remap="test".

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