Linux Commands Helper
💬 Your AI-powered Linux assistant
lsblk Command - List Block Devices
The lsblk command displays information about block devices in a tree-like format.
Syntax
lsblk [options]
Examples
lsblk
List all block devices.
lsblk -f
Display filesystems associated with devices.
Notes
- lsblk does not display RAM disks by default.
- Useful for viewing device hierarchies and mount points.