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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 89306f9 was 10d030c, checked in by William Harrington <kb0iic@…>, 11 years ago

Add a note regarding util-linux findmnt and lsblk utilities and utilizing libudev. Build util-linux after systemd to utilize libudev for WWN and serial number information.

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