Linux Command: lsblk
List block devices in a tree view with filesystem info
Terminal โ Disk & Storage
Command
$
lsblk -f
Output
NAME FSTYPE FSVER LABEL UUID MOUNTPOINTS
sda
โโsda1 vfat FAT32 EFI 1234-ABCD /boot/efi
โโsda2 ext4 1.0 root a1b2c3d4-e5f6-... /
lsblk shows block devices and partitions as a clean tree. -f adds filesystem info, -o customizes columns (NAME,SIZE,MODEL,SERIAL), -J outputs JSON for scripts. Complements df -h (mount usage) and blkid (UUID lookup).