Forrest logo
back to the lsblk tool

lsblk:tldr:97ca5

lsblk: Output info about block-device topology.
$ lsblk -t
try on your machine

The lsblk command is used in Linux systems to list information about available block devices, such as hard drives and partition details.

When used with the -t option, the lsblk -t command displays additional information about the device tree structure. It provides an organized view of block devices, their relationships, and their attributes.

The output shows the device name, its type (disk, partition, or loopback), the mount point if applicable, and various other details like the size, model, and filesystem type. This information can be helpful in understanding the storage devices connected to the system and their configuration.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the lsblk tool