1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/lsblk.md

28 lines
398 B
Markdown
Raw Normal View History

2016-01-05 20:41:55 +05:30
# lsblk
> lists information about devices
- list all storage devices in a tree-like format.
`lsblk`
- Also list empty devices.
`lsblk −a`
- Print the SIZE column in bytes rather than in a human-readable format.
`lsblk −b`
- Output info about filesystems.
`lsblk −f`
- Use ASCII characters for tree formatting.
`lsblk −i`
- Output info about block-device topology.
`lsblk −t`