mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 13:06:00 +02:00
lsblk: add page
This commit is contained in:
parent
bc367687e3
commit
35616d7624
1 changed files with 27 additions and 0 deletions
27
pages/linux/lsblk.md
Normal file
27
pages/linux/lsblk.md
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# 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`
|
Loading…
Add table
Reference in a new issue