Disk & Storage
Partition, format, mount and measure disks and filesystems.
6 commands in this section.
df
Beginner
Report filesystem disk space usage.
df [options]
du
Beginner
Estimate file and directory space usage.
du [options] [path]
fdisk
Advanced
View and edit disk partition tables (MBR).
fdisk device
lsblk
Beginner
List block devices in a tree view.
lsblk [options]
mkfs
Advanced
Create a new filesystem on a partition or device.
mkfs -t type device
mount
Intermediate
Attach a filesystem to the directory tree.
mount [options] device mountpoint