mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-01-02 22:12:50 +03:00
28 lines
399 B
Markdown
28 lines
399 B
Markdown
# 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`
|