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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since fbaca08 was 229ed25, checked in by Chris Staub <chris@…>, 11 years ago

Merge branch 'master' into systemd

Conflicts:

BOOK/appendices/dependencies/common.xml
BOOK/boot/common/devices.xml
BOOK/boot/common/pwdgroup.xml
BOOK/boot/ppc64-64/powerpc-utils.xml
BOOK/boot/ppc64/util-linux-32.xml
BOOK/bootscripts/common/bootscripts.xml
BOOK/final-system/alpha-chapter.xml
BOOK/final-system/common/coreutils.xml
BOOK/final-system/common/eudev.xml
BOOK/final-system/common/kbd.xml
BOOK/final-system/mips-chapter.xml
BOOK/final-system/mips64-64-chapter.xml
BOOK/final-system/mips64-chapter.xml
BOOK/final-system/multilib/udev-64bit.xml
BOOK/final-system/multilib/util-linux.xml
BOOK/final-system/ppc-chapter.xml
BOOK/final-system/ppc64-chapter.xml
BOOK/final-system/sparc-chapter.xml
BOOK/final-system/sparc64-64-chapter.xml
BOOK/final-system/sparc64-chapter.xml
BOOK/final-system/x86-chapter.xml
BOOK/final-system/x86_64-64-chapter.xml
BOOK/final-system/x86_64-chapter.xml
BOOK/introduction/common/changelog.xml
BOOK/materials/common/packages.xml
BOOK/packages.ent

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