Installing Utillinux

Installation of Util-Linux

Install Util-Linux by running the following commands:



sed -e s/HAVE_SLN=no/HAVE_SLN=yes/ \
   -e s/HAVE_TSORT=no/HAVE_TSORT=yes/ \
   MCONFIG > MCONFIG~ &&
mv MCONFIG~ MCONFIG &&
./configure &&
make &&
make install

Command explanations

HAVE_SLN=yes: We don't build this program because it already was installed by Glibc.

HAVE_TSORT=yes: We don't build this program either becuase it already was installed by Textutils.

Contents

The Util-linux package contains the arch, dmesg, kill, more, mount, umount, agetty, blockdev, cfdisk, ctrlaltdel, elvtune, fdisk, fsck.minix, hwclock, kbdrate, losetup, mkfs, mkfs.bfs, mkfs.minix, mkswap, sfdisk, swapoff, swapon, cal, chkdupexe, col, colcrt, colrm, column, cytune, ddate, fdformat, getopt, hexdump, ipcrm, ipcs, logger, look, mcookie, namei, rename, renice, rev, script, setfdprm, setsid, setterm, ul, whereis, write, ramsize, rdev, readprofile, rootflags, swapdev, tunelp and vidmode programs.

Description

arch

arch prints the machine architecture.

dmesg

dmesg is used to examine or control the kernel ring buffer (boot messages from the kernel).

kill

kill sends a specified signal to the specified process.

more

more is a filter for paging through text one screenful at a time.

mount

mount mounts a filesystem from a device to a directory (mount point).

umount

umount unmounts a mounted filesystem.

agetty

agetty opens a tty port, prompts for a login name and invokes the /bin/login command.

blockdev

blockdev allows you to call block device ioctls from the command line

cfdisk

cfdisk is an libncurses based disk partition table manipulator.

ctrlaltdel

ctrlaltdel sets the function of the CTRL+ALT+DEL key combination (hard or soft reset).

elvtune

elvtune allows to tune the I/O elevator per blockdevice queue basis.

fdisk

fdisk is a disk partition table manipulator.

fsck.minix

fsck.minix performs a consistency check for the Linux MINIX filesystem.

hwclock

hwclock queries and sets the hardware clock (Also called the RTC or BIOS clock).

kbdrate

kbdrate resets the keyboard repeat rate and delay time.

losetup

losetup sets up and controls loop devices.

mkfs

mkfs builds a Linux filesystem on a device, usually a harddisk partition.

mkfs.bfs

mkfs.bfs creates a SCO bfs file system on a device, usually a harddisk partition.

mkfs.minix

mkfs.minix creates a Linux MINIX filesystem on a device, usually a harddisk partition.

mkswap

mkswap sets up a Linux swap area on a device or in a file.

sfdisk

sfdisk is a disk partition table manipulator.

swapoff

swapoff disables devices and files for paging an swapping.

swapon

swapon enables devices and files for paging and swapping.

cal

cal displays a simple calender.

chkdupexe

chkdupexe finds duplicate executables.

col

col filters reverse line feeds from input.

colcrt

colcrt filters nroff output for CRT previewing.

colrm

colrm removes columns from a file.

column

column columnates lists.

cytune

cytune queries and modifies the interruption threshold for the Cyclades driver.

ddate

ddate converts Gregorian dates to Discordian dates.

fdformat

fdformat low-level formats a floppy disk.

getopt

getops parses command options the same way as the getopt C command.

hexdump

hexdump displays specified files, or standard input, in a user specified format (ascii, decimal, hexadecimal, octal).

ipcrm

ipcrm removes a specified resource.

ipcs

ipcs provides information on ipc facilities.

logger

logger makes entries in the system log.

look

look displays lines beginning with a given string.

mcookie

mcookie generates magic cookies for xauth.

namei

namei follows a pathname until a terminal point is found.

rename

rename renames files.

renice

renice alters priority of running processes.

rev

rev reverses lines of a file.

script

script makes typescript of terminal session.

setfdprm

setfdprm sets user-provides floppy disk parameters.

setsid

setsid runs programs in a new session.

setterm

setterm sets terminal attributes.

ul

ul reads a file and translates occurences of underscores to the sequence which indicates underlining for the terminal in use.

whereis

whereis locates a binary, source and manual page for a command.

write

write sends a message to another user.

ramsize

ramsize queries and sets RAM disk size.

rdev

rdev queries and sets image root device, swap device, RAM disk size, or video mode.

readprofile

readprofile reads kernel profiling information.

rootflags

rootflags queries and sets extra information used when mounting root.

swapdev

swapdev queries and sets swap device.

tunelp

tunelp sets various paramters for the lp device.

vidmode

vidmode queries and sets the video mode.