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

systemd
Last change on this file since f884aff was 4a7e80f, checked in by William Harrington <kb0iic@…>, 8 years ago

Remove '>' in configure command.

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