diff --git a/pages/linux/lsblk.md b/pages/linux/lsblk.md new file mode 100644 index 0000000000..99765d28ba --- /dev/null +++ b/pages/linux/lsblk.md @@ -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`