Package util-linux

A 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

General Commands
Command Description
cal display a calendar
chrt manipulate the real-time attributes of a process
col filter reverse line feeds from input
colcrt filter nroff output for CRT previewing
colrm remove columns from a file
column columnate lists
dmesg print or control the kernel ring buffer
eject eject removable media
fallocate preallocate or deallocate space to a file
fincore count pages of file contents in core
flock manage locks from shell scripts
getopt parse command options (enhanced)
hexdump display file contents in hexadecimal, decimal, octal, or ascii
ionice set or get process I/O scheduling class and priority
ipcmk make various IPC resources
ipcrm remove certain IPC resources
ipcs show information on IPC facilities
kill terminate a process
last show a listing of last logged in users
logger enter messages into the system log
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
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
more file perusal filter for crt viewing
mountpoint see if a directory or file is a mountpoint
namei follow a pathname until a terminal point is found
nsenter run program with namespaces of other processes
prlimit get and set process resource limits
rename rename files
renice alter priority of running processes
rev reverse lines characterwise
runuser run a command with substitute user and group ID
script make typescript of terminal session
scriptreplay play back typescripts, using timing information
setpriv run a program with different Linux privilege settings
setsid run a program in a new session
setterm set terminal attributes
su run a command with substitute user and group ID
taskset set or retrieve a process's CPU affinity
ul do underlining
unshare run program with some namespaces unshared from parent
utmpdump dump UTMP and WTMP files in raw format
uuidgen create a new UUID value
wall write a message to all users
whereis locate the binary, source, and manual page files for a command
write send a message to another user
File Formats
File Description
fstab static information about the filesystems
terminal-colors.d Configure output colorization for various utilities
System Administration
Command Description
addpart tell the kernel about the existence of a partition
agetty alternative Linux getty
blkdiscard discard sectors on a device
blkid locate/print block device attributes
blkzone run zone command on a device
blockdev call block device ioctls from the command line
cfdisk display or manipulate a disk partition table
chcpu configure CPUs
chmem configure memory
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
findmnt find a filesystem
fsck check and repair a Linux filesystem
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 read or set the hardware clock (RTC)
isosize output the length of an iso9660 filesystem
ldattach attach a line discipline to a serial line
losetup set up and control loop devices
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
mkswap set up a Linux swap area
mount mount a filesystem
nologin politely refuse a login
partx tell the kernel about the presence and numbering of on-disk partitions
pivot_root change the root filesystem
raw bind a Linux raw character device
readprofile read kernel profiling information
resizepart tell the kernel about the new size of a partition
rtcwake enter a system sleep state until specified wakeup time
setarch change reported architecture in new program environment and set personality...
sfdisk display or manipulate a disk partition table
sulogin single-user login
swaplabel print or change the label or UUID of a swap area
swapon enable/disable devices and files for paging and swapping
switch_root switch to another filesystem as the root of the mount tree
umount unmount file systems
wdctl show hardware watchdog status
wipefs wipe a signature from a device
zramctl set up and control zram devices