source: chapter06/util-linux.xml@ edbeeb5

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 7.10 7.10-rc1 7.9 7.9-rc1 7.9-rc2 8.0 8.0-rc1 8.1 8.1-rc1 8.1-rc2 8.2 8.2-rc1 8.3 8.3-rc1 8.3-rc2 8.4 8.4-rc1 9.0 9.0-rc1 9.1 9.1-rc1 BOOK.old cross-chap5 ml-11.0 multilib nosym old-trunk trunk xry111/git-transition xry111/glibc-2.34 xry111/tester-nohack xry111/usr-move
Last change on this file since edbeeb5 was edbeeb5, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Spelling and other typos -- from Craig Garner

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10969 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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