Linux Disk Storage Cheat Sheet/List block devices as a tree

Show disks, partitions, loop devices, and mountpoints.

Section: Inventory and Capacity

List block devices as a tree

bash
bash
lsblk
Explanation

Show disks, partitions, loop devices, and mountpoints.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Inventory and Capacity
Select custom lsblk columns
Useful when you want clean inventory output for documentation or scripts.
OpenIn sheetbashsame section
Show filesystems with UUIDs
Display filesystem type, label, UUID, and mountpoint.
OpenIn sheetbashsame section
Show mounted filesystems
Display the live mount tree with source, target, and options.
OpenIn sheetbashsame section
Probe block devices for signatures
Read known filesystem, RAID, and partition metadata.
OpenIn sheetbashsame section
Find mountpoints for a device
Filter the mount table by source device.
OpenIn sheetbashsame section
Show filesystem free space
Display used and available capacity in human-readable units.
OpenIn sheetbashsame section