util-linux.xml 43 KB

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