TOOL » LINUX » PACKAGE
Lsblk
Usage
shell
lsblk OPTIONS DEVICE
Option | Description |
---|---|
-f --fs | Output info about filesystems. |
-o --output | Specify which output columns to print. Extend default list with the +column syntax. |
--help | Get full list of options and available columns. |
Example
Check file system of all connected storage devices.
shell
lsblk -o +FSTYPE,UUID
Easy to read disk usage command:
shell
lsblk -o 'NAME,FSTYPE,SIZE,FSUSED,FSUSE%,MOUNTPOINTS'