Package util-linux

Collection of basic system utilities

The util-linux package contains a large variety of low-level system
utilities that are necessary for a Linux system to function. Among
others, Util-linux contains the fdisk configuration tool and the login

Version: 2.37

See also: util-linux-core, util-linux-user.

General Commands

cal display a calendar
choom The choom command displays and adjusts Out-Of-Memory killer score setting.
col filter reverse line feeds from input
colcrt filter nroff output for CRT previewing
colrm remove columns from a file
column columnate lists
eject eject allows removable media (typically a CD-ROM, floppy disk, tape, JAZ, ZIP or USB disk) to be ejected under software control.
fallocate preallocate or deallocate space to a file
fincore count pages of file contents in core
getopt parse command options (enhanced)
hexdump The hexdump utility is a filter which displays the specified files, or standard input if no files are specified, in a user-specified format.
irqtop utility to display kernel interrupt information
last show a listing of last logged in users
login begin session on the system
look display lines beginning with a given string
lscpu display information about the CPU architecture
lsipc show information on IPC facilities currently employed in the system
lsirq utility to display kernel interrupt information
lslogins display information about known users in the system
lsmem list the ranges of available memory with their online status
mcookie generate magic cookies for xauth
mesg display (or do not display) messages from other users
namei follow a pathname until a terminal point is found
prlimit get and set process resource limits
rename rename files
rev reverse lines characterwise
runuser run a command with substitute user and group ID
script make typescript of terminal session
scriptlive re-run session typescripts, using timing information
scriptreplay play back typescripts, using timing information
setpriv run a program with different Linux privilege settings
setterm set terminal attributes
su run a command with substitute user and group ID
uclampset manipulate the utilization clamping attributes of the system or a process
ul do underlining
utmpdump dump UTMP and WTMP files in raw format
uuidgen create a new UUID value
uuidparse a utility to parse unique identifiers
wall write a message to all users
whereis locate the binary, source, and manual page files for a command
write write allows you to communicate with other users, by copying lines from your terminal to theirs.

File Formats

adjtime_config information about hardware clock setting and drift factor
fstab static information about the filesystems
terminal-colors.d configure output colorization for various utilities

System Administration

addpart tell the kernel about the existence of a partition
blkdiscard discard sectors on a device
blkzone run zone command on a device
cfdisk display or manipulate a disk partition table
chcpu configure CPUs
chmem configure memory
clock alias for hwclock
ctrlaltdel set the function of the Ctrl-Alt-Del combination
delpart tell the kernel to forget about a partition
fdformat low-level format a floppy disk
fdisk manipulate disk partition table
findfs find a filesystem by label or UUID
fsck.cramfs fsck compressed ROM file system
fsck.minix check consistency of Minix filesystem
fsfreeze suspend access to a filesystem (Ext3/4, ReiserFS, JFS, XFS)
fstrim discard unused blocks on a mounted filesystem
hwclock time clocks utility
i386 alias for setarch
isosize output the length of an iso9660 filesystem
ldattach attach a line discipline to a serial line
linux32 alias for setarch
linux64 alias for setarch
lsblk list block devices
lslocks list local system locks
lsns list namespaces
mkfs build a Linux filesystem
mkfs.cramfs make compressed ROM file system
mkfs.minix make a Minix filesystem
nologin politely refuse a login
pivot_root change the root filesystem
readprofile read kernel profiling information
resizepart tell the kernel about the new size of a partition
rfkill tool for enabling and disabling wireless devices
rtcwake enter a system sleep state until specified wakeup time
setarch change reported architecture in new program environment and/or set personality flags
sfdisk display or manipulate a disk partition table
sulogin single-user login
swaplabel print or change the label or UUID of a swap area
uname26 alias for setarch
wdctl show hardware watchdog status
wipefs wipe a signature from a device
x86_64 alias for setarch
zramctl set up and control zram devices