util-linux.xml 41 KB

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