source: chapter06/util-linux.xml@ 3307b88

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 12.2 12.2-rc1 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/loongarch-12.2 xry111/mips64el xry111/multilib xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 3307b88 was 3307b88, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Remove temporary symlinks for System V

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

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