[6370fa6] | 1 | <sect2>
|
---|
| 2 | <title>Contents</title>
|
---|
| 3 |
|
---|
[b822811] | 4 | <para>The Util-linux package contains the arch, dmesg, kill, more,
|
---|
[6370fa6] | 5 | mount, umount, agetty, blockdev, cfdisk, ctrlaltdel, elvtune, fdisk,
|
---|
| 6 | fsck.minix, hwclock, kbdrate, losetup, mkfs, mkfs.bfs, mkfs.minix,
|
---|
| 7 | mkswap, sfdisk, swapoff, swapon, cal, chkdupexe, col, colcrt, colrm,
|
---|
| 8 | column, cytune, ddate, fdformat, getopt, hexdump, ipcrm, ipcs, logger,
|
---|
| 9 | look, mcookie, namei, rename, renice, rev, script, setfdprm, setsid,
|
---|
| 10 | setterm, ul, whereis, write, ramsize, rdev, readprofile, rootflags,
|
---|
[b822811] | 11 | swapdev, tunelp and vidmode programs.</para>
|
---|
[6370fa6] | 12 |
|
---|
| 13 | </sect2>
|
---|
| 14 |
|
---|
| 15 | <sect2>
|
---|
| 16 | <title>Description</title>
|
---|
| 17 |
|
---|
| 18 | <sect3>
|
---|
| 19 | <title>arch</title>
|
---|
| 20 |
|
---|
[b822811] | 21 | <para>arch prints the machine architecture.</para>
|
---|
[6370fa6] | 22 |
|
---|
| 23 | </sect3>
|
---|
| 24 |
|
---|
| 25 | <sect3>
|
---|
| 26 | <title>dmesg</title>
|
---|
| 27 |
|
---|
[b822811] | 28 | <para>dmesg is used to examine or control the kernel ring buffer (boot
|
---|
| 29 | messages from the kernel).</para>
|
---|
[6370fa6] | 30 |
|
---|
| 31 | </sect3>
|
---|
| 32 |
|
---|
| 33 | <sect3>
|
---|
| 34 | <title>kill</title>
|
---|
| 35 |
|
---|
[b822811] | 36 | <para>kill sends a specified signal to the specified process.</para>
|
---|
[6370fa6] | 37 |
|
---|
| 38 | </sect3>
|
---|
| 39 |
|
---|
| 40 | <sect3>
|
---|
| 41 | <title>more</title>
|
---|
| 42 |
|
---|
[b822811] | 43 | <para>more is a filter for paging through text one screen full at a time.</para>
|
---|
[6370fa6] | 44 |
|
---|
| 45 | </sect3>
|
---|
| 46 |
|
---|
| 47 | <sect3>
|
---|
| 48 | <title>mount</title>
|
---|
| 49 |
|
---|
[b822811] | 50 | <para>mount mounts a filesystem from a device to a directory (mount
|
---|
| 51 | point).</para>
|
---|
[6370fa6] | 52 |
|
---|
| 53 | </sect3>
|
---|
| 54 |
|
---|
| 55 | <sect3>
|
---|
| 56 | <title>umount</title>
|
---|
| 57 |
|
---|
[b822811] | 58 | <para>umount unmounts a mounted filesystem.</para>
|
---|
[6370fa6] | 59 |
|
---|
| 60 | </sect3>
|
---|
| 61 |
|
---|
| 62 | <sect3>
|
---|
| 63 | <title>agetty</title>
|
---|
| 64 |
|
---|
[b822811] | 65 | <para>agetty opens a tty port, prompts for a login name and invokes the
|
---|
| 66 | /bin/login command.</para>
|
---|
[6370fa6] | 67 |
|
---|
| 68 | </sect3>
|
---|
| 69 |
|
---|
| 70 | <sect3>
|
---|
| 71 | <title>blockdev</title>
|
---|
| 72 |
|
---|
[b822811] | 73 | <para>blockdev allows to call block device ioctls from the command
|
---|
| 74 | line</para>
|
---|
[6370fa6] | 75 |
|
---|
| 76 | </sect3>
|
---|
| 77 |
|
---|
| 78 | <sect3>
|
---|
| 79 | <title>cfdisk</title>
|
---|
| 80 |
|
---|
[b822811] | 81 | <para>cfdisk is an libncurses based disk partition table manipulator.</para>
|
---|
[6370fa6] | 82 |
|
---|
| 83 | </sect3>
|
---|
| 84 |
|
---|
| 85 | <sect3>
|
---|
| 86 | <title>ctrlaltdel</title>
|
---|
| 87 |
|
---|
[b822811] | 88 | <para>ctrlaltdel sets the function of the CTRL+ALT+DEL key combination (hard
|
---|
| 89 | or soft reset).</para>
|
---|
[6370fa6] | 90 |
|
---|
| 91 | </sect3>
|
---|
| 92 |
|
---|
| 93 | <sect3>
|
---|
| 94 | <title>elvtune</title>
|
---|
| 95 |
|
---|
[b822811] | 96 | <para>elvtune allows to tune the I/O elevator per block device queue
|
---|
| 97 | basis.</para>
|
---|
[6370fa6] | 98 |
|
---|
| 99 | </sect3>
|
---|
| 100 |
|
---|
| 101 | <sect3>
|
---|
| 102 | <title>fdisk</title>
|
---|
| 103 |
|
---|
[b822811] | 104 | <para>fdisk is a disk partition table manipulator.</para>
|
---|
[6370fa6] | 105 |
|
---|
| 106 | </sect3>
|
---|
| 107 |
|
---|
| 108 | <sect3>
|
---|
| 109 | <title>fsck.minix</title>
|
---|
| 110 |
|
---|
[b822811] | 111 | <para>fsck.minix performs a consistency check for the Linux MINIX
|
---|
| 112 | filesystem.</para>
|
---|
[6370fa6] | 113 |
|
---|
| 114 | </sect3>
|
---|
| 115 |
|
---|
| 116 | <sect3>
|
---|
| 117 | <title>hwclock</title>
|
---|
| 118 |
|
---|
[b822811] | 119 | <para>hwclock queries and sets the hardware clock (Also called the RTC or BIOS
|
---|
| 120 | clock).</para>
|
---|
[6370fa6] | 121 |
|
---|
| 122 | </sect3>
|
---|
| 123 |
|
---|
| 124 | <sect3>
|
---|
| 125 | <title>kbdrate</title>
|
---|
| 126 |
|
---|
[b822811] | 127 | <para>kbdrate resets the keyboard repeat rate and delay time.</para>
|
---|
[6370fa6] | 128 |
|
---|
| 129 | </sect3>
|
---|
| 130 |
|
---|
| 131 | <sect3>
|
---|
| 132 | <title>losetup</title>
|
---|
| 133 |
|
---|
[b822811] | 134 | <para>losetup sets up and controls loop devices.</para>
|
---|
[6370fa6] | 135 |
|
---|
| 136 | </sect3>
|
---|
| 137 |
|
---|
| 138 | <sect3>
|
---|
| 139 | <title>mkfs</title>
|
---|
| 140 |
|
---|
[b822811] | 141 | <para>mkfs builds a Linux filesystem on a device, usually a harddisk
|
---|
| 142 | partition.</para>
|
---|
[6370fa6] | 143 |
|
---|
| 144 | </sect3>
|
---|
| 145 |
|
---|
| 146 | <sect3>
|
---|
| 147 | <title>mkfs.bfs</title>
|
---|
| 148 |
|
---|
[b822811] | 149 | <para>mkfs.bfs creates a SCO bfs file system on a device, usually a harddisk
|
---|
| 150 | partition.</para>
|
---|
[6370fa6] | 151 |
|
---|
| 152 | </sect3>
|
---|
| 153 |
|
---|
| 154 | <sect3>
|
---|
| 155 | <title>mkfs.minix</title>
|
---|
| 156 |
|
---|
[b822811] | 157 | <para>mkfs.minix creates a Linux MINIX filesystem on a device, usually a
|
---|
| 158 | harddisk partition.</para>
|
---|
[6370fa6] | 159 |
|
---|
| 160 | </sect3>
|
---|
| 161 |
|
---|
| 162 | <sect3>
|
---|
| 163 | <title>mkswap</title>
|
---|
| 164 |
|
---|
[b822811] | 165 | <para>mkswap sets up a Linux swap area on a device or in a file.</para>
|
---|
[6370fa6] | 166 |
|
---|
| 167 | </sect3>
|
---|
| 168 |
|
---|
| 169 | <sect3>
|
---|
| 170 | <title>sfdisk</title>
|
---|
| 171 |
|
---|
[b822811] | 172 | <para>sfdisk is a disk partition table manipulator.</para>
|
---|
[6370fa6] | 173 |
|
---|
| 174 | </sect3>
|
---|
| 175 |
|
---|
| 176 | <sect3>
|
---|
| 177 | <title>swapoff</title>
|
---|
| 178 |
|
---|
[b822811] | 179 | <para>swapoff disables devices and files for paging and swapping.</para>
|
---|
[6370fa6] | 180 |
|
---|
| 181 | </sect3>
|
---|
| 182 |
|
---|
| 183 | <sect3>
|
---|
| 184 | <title>swapon</title>
|
---|
| 185 |
|
---|
[b822811] | 186 | <para>swapon enables devices and files for paging and swapping.</para>
|
---|
[6370fa6] | 187 |
|
---|
| 188 | </sect3>
|
---|
| 189 |
|
---|
| 190 | <sect3>
|
---|
| 191 | <title>cal</title>
|
---|
| 192 |
|
---|
[b822811] | 193 | <para>cal displays a simple calender.</para>
|
---|
[6370fa6] | 194 |
|
---|
| 195 | </sect3>
|
---|
| 196 |
|
---|
| 197 | <sect3>
|
---|
| 198 | <title>chkdupexe</title>
|
---|
| 199 |
|
---|
[b822811] | 200 | <para>chkdupexe finds duplicate executables.</para>
|
---|
[6370fa6] | 201 |
|
---|
| 202 | </sect3>
|
---|
| 203 |
|
---|
| 204 | <sect3>
|
---|
| 205 | <title>col</title>
|
---|
| 206 |
|
---|
[b822811] | 207 | <para>col filters reverse line feeds from input.</para>
|
---|
[6370fa6] | 208 |
|
---|
| 209 | </sect3>
|
---|
| 210 |
|
---|
| 211 | <sect3>
|
---|
| 212 | <title>colcrt</title>
|
---|
| 213 |
|
---|
[b822811] | 214 | <para>colcrt filters nroff output for CRT previewing.</para>
|
---|
[6370fa6] | 215 |
|
---|
| 216 | </sect3>
|
---|
| 217 |
|
---|
| 218 | <sect3>
|
---|
| 219 | <title>colrm</title>
|
---|
| 220 |
|
---|
[b822811] | 221 | <para>colrm removes columns from a file.</para>
|
---|
[6370fa6] | 222 |
|
---|
| 223 | </sect3>
|
---|
| 224 |
|
---|
| 225 | <sect3>
|
---|
| 226 | <title>column</title>
|
---|
| 227 |
|
---|
[b822811] | 228 | <para>column columnates lists.</para>
|
---|
[6370fa6] | 229 |
|
---|
| 230 | </sect3>
|
---|
| 231 |
|
---|
| 232 | <sect3>
|
---|
| 233 | <title>cytune</title>
|
---|
| 234 |
|
---|
[b822811] | 235 | <para>cytune queries and modifies the interruption threshold for the Cyclades
|
---|
| 236 | driver.</para>
|
---|
[6370fa6] | 237 |
|
---|
| 238 | </sect3>
|
---|
| 239 |
|
---|
| 240 | <sect3>
|
---|
| 241 | <title>ddate</title>
|
---|
| 242 |
|
---|
[b822811] | 243 | <para>ddate converts Gregorian dates to Discordian dates.</para>
|
---|
[6370fa6] | 244 |
|
---|
| 245 | </sect3>
|
---|
| 246 |
|
---|
| 247 | <sect3>
|
---|
| 248 | <title>fdformat</title>
|
---|
| 249 |
|
---|
[b822811] | 250 | <para>fdformat low-level formats a floppy disk.</para>
|
---|
[6370fa6] | 251 |
|
---|
| 252 | </sect3>
|
---|
| 253 |
|
---|
| 254 | <sect3>
|
---|
| 255 | <title>getopt</title>
|
---|
| 256 |
|
---|
[b822811] | 257 | <para>getops parses command options the same way as the getopt C command.</para>
|
---|
[6370fa6] | 258 |
|
---|
| 259 | </sect3>
|
---|
| 260 |
|
---|
| 261 | <sect3>
|
---|
| 262 | <title>hexdump</title>
|
---|
| 263 |
|
---|
[b822811] | 264 | <para>hexdump displays specified files, or standard input, in a user specified
|
---|
| 265 | format (ascii, decimal, hexadecimal, octal).</para>
|
---|
[6370fa6] | 266 |
|
---|
| 267 | </sect3>
|
---|
| 268 |
|
---|
| 269 | <sect3>
|
---|
| 270 | <title>ipcrm</title>
|
---|
| 271 |
|
---|
[b822811] | 272 | <para>ipcrm removes a specified resource.</para>
|
---|
[6370fa6] | 273 |
|
---|
| 274 | </sect3>
|
---|
| 275 |
|
---|
| 276 | <sect3>
|
---|
| 277 | <title>ipcs</title>
|
---|
| 278 |
|
---|
[b822811] | 279 | <para>ipcs provides information on IPC facilities.</para>
|
---|
[6370fa6] | 280 |
|
---|
| 281 | </sect3>
|
---|
| 282 |
|
---|
| 283 | <sect3>
|
---|
| 284 | <title>logger</title>
|
---|
| 285 |
|
---|
[b822811] | 286 | <para>logger makes entries in the system log.</para>
|
---|
[6370fa6] | 287 |
|
---|
| 288 | </sect3>
|
---|
| 289 |
|
---|
| 290 | <sect3>
|
---|
| 291 | <title>look</title>
|
---|
| 292 |
|
---|
[b822811] | 293 | <para>look displays lines beginning with a given string.</para>
|
---|
[6370fa6] | 294 |
|
---|
| 295 | </sect3>
|
---|
| 296 |
|
---|
| 297 | <sect3>
|
---|
| 298 | <title>mcookie</title>
|
---|
| 299 |
|
---|
[b822811] | 300 | <para>mcookie generates magic cookies for xauth.</para>
|
---|
[6370fa6] | 301 |
|
---|
| 302 | </sect3>
|
---|
| 303 |
|
---|
| 304 | <sect3>
|
---|
| 305 | <title>namei</title>
|
---|
| 306 |
|
---|
[b822811] | 307 | <para>namei follows a pathname until a terminal point is found.</para>
|
---|
[6370fa6] | 308 |
|
---|
| 309 | </sect3>
|
---|
| 310 |
|
---|
| 311 | <sect3>
|
---|
| 312 | <title>rename</title>
|
---|
| 313 |
|
---|
[b822811] | 314 | <para>rename renames files.</para>
|
---|
[6370fa6] | 315 |
|
---|
| 316 | </sect3>
|
---|
| 317 |
|
---|
| 318 | <sect3>
|
---|
| 319 | <title>renice</title>
|
---|
| 320 |
|
---|
[b822811] | 321 | <para>renice alters priority of running processes.</para>
|
---|
[6370fa6] | 322 |
|
---|
| 323 | </sect3>
|
---|
| 324 |
|
---|
| 325 | <sect3>
|
---|
| 326 | <title>rev</title>
|
---|
| 327 |
|
---|
[b822811] | 328 | <para>rev reverses lines of a file.</para>
|
---|
[6370fa6] | 329 |
|
---|
| 330 | </sect3>
|
---|
| 331 |
|
---|
| 332 | <sect3>
|
---|
| 333 | <title>script</title>
|
---|
| 334 |
|
---|
[b822811] | 335 | <para>script makes typescript of terminal session.</para>
|
---|
[6370fa6] | 336 |
|
---|
| 337 | </sect3>
|
---|
| 338 |
|
---|
| 339 | <sect3>
|
---|
| 340 | <title>setfdprm</title>
|
---|
| 341 |
|
---|
[b822811] | 342 | <para>setfdprm sets user-provides floppy disk parameters.</para>
|
---|
[6370fa6] | 343 |
|
---|
| 344 | </sect3>
|
---|
| 345 |
|
---|
| 346 | <sect3>
|
---|
| 347 | <title>setsid</title>
|
---|
| 348 |
|
---|
[b822811] | 349 | <para>setsid runs programs in a new session.</para>
|
---|
[6370fa6] | 350 |
|
---|
| 351 | </sect3>
|
---|
| 352 |
|
---|
| 353 | <sect3>
|
---|
| 354 | <title>setterm</title>
|
---|
| 355 |
|
---|
[b822811] | 356 | <para>setterm sets terminal attributes.</para>
|
---|
[6370fa6] | 357 |
|
---|
| 358 | </sect3>
|
---|
| 359 |
|
---|
| 360 | <sect3>
|
---|
| 361 | <title>ul</title>
|
---|
| 362 |
|
---|
[b822811] | 363 | <para>ul reads a file and translates occurrences of underscores to the sequence
|
---|
| 364 | which indicates underlining for the terminal in use.</para>
|
---|
[6370fa6] | 365 |
|
---|
| 366 | </sect3>
|
---|
| 367 |
|
---|
| 368 | <sect3>
|
---|
| 369 | <title>whereis</title>
|
---|
| 370 |
|
---|
[b822811] | 371 | <para>whereis locates a binary, source and manual page for a command.</para>
|
---|
[6370fa6] | 372 |
|
---|
| 373 | </sect3>
|
---|
| 374 |
|
---|
| 375 | <sect3>
|
---|
| 376 | <title>write</title>
|
---|
| 377 |
|
---|
[b822811] | 378 | <para>write sends a message to another user.</para>
|
---|
[6370fa6] | 379 |
|
---|
| 380 | </sect3>
|
---|
| 381 |
|
---|
| 382 | <sect3>
|
---|
| 383 | <title>ramsize</title>
|
---|
| 384 |
|
---|
[b822811] | 385 | <para>ramsize queries and sets RAM disk size.</para>
|
---|
[6370fa6] | 386 |
|
---|
| 387 | </sect3>
|
---|
| 388 |
|
---|
| 389 | <sect3>
|
---|
| 390 | <title>rdev</title>
|
---|
| 391 |
|
---|
[b822811] | 392 | <para>rdev queries and sets image root device, swap device, RAM disk size, or
|
---|
| 393 | video mode.</para>
|
---|
[6370fa6] | 394 |
|
---|
| 395 | </sect3>
|
---|
| 396 |
|
---|
| 397 | <sect3>
|
---|
| 398 | <title>readprofile</title>
|
---|
| 399 |
|
---|
[b822811] | 400 | <para>readprofile reads kernel profiling information.</para>
|
---|
[6370fa6] | 401 |
|
---|
| 402 | </sect3>
|
---|
| 403 |
|
---|
| 404 | <sect3>
|
---|
| 405 | <title>rootflags</title>
|
---|
| 406 |
|
---|
[b822811] | 407 | <para>rootflags queries and sets extra information used when mounting
|
---|
| 408 | root.</para>
|
---|
[6370fa6] | 409 |
|
---|
| 410 | </sect3>
|
---|
| 411 |
|
---|
| 412 | <sect3>
|
---|
| 413 | <title>swapdev</title>
|
---|
| 414 |
|
---|
[b822811] | 415 | <para>swapdev queries and sets swap device.</para>
|
---|
[6370fa6] | 416 |
|
---|
| 417 | </sect3>
|
---|
| 418 |
|
---|
| 419 | <sect3>
|
---|
| 420 | <title>tunelp</title>
|
---|
| 421 |
|
---|
[b822811] | 422 | <para>tunelp sets various parameters for the LP device.</para>
|
---|
[6370fa6] | 423 |
|
---|
| 424 | </sect3>
|
---|
| 425 |
|
---|
| 426 | <sect3>
|
---|
| 427 | <title>vidmode</title>
|
---|
| 428 |
|
---|
[b822811] | 429 | <para>vidmode queries and sets the video mode.</para>
|
---|
[6370fa6] | 430 |
|
---|
| 431 | </sect3>
|
---|
| 432 |
|
---|
| 433 | </sect2>
|
---|
| 434 |
|
---|