util-linux.xml 43 KB

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