tldr/pages/linux/lsblk.md
2016-01-13 12:04:46 +01:00

28 lines
399 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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`