Forrest logo
back to the lsblk tool

lsblk:tldr:1490c

lsblk: Use ASCII characters for tree formatting.
$ lsblk -i
try on your machine

The command "lsblk -i" is used to list block devices on a system, displaying information about each device in a tree-like format.

Here's a breakdown of the command:

  • "lsblk": This is the main command that is used to list block devices. It stands for "list block".
  • "-i": This is an option or a flag that is used along with the "lsblk" command to display additional information about each block device.
    • The "-i" option specifically stands for "list information".
    • When used, it provides more detailed information about each device, including the UUID (Universally Unique Identifier), the TYPE of the device, whether it is read-only (RO), whether it is removable (RM), and a few other properties.
    • This additional information can be useful for understanding the characteristics and properties of each block device.

To summarize, the "lsblk -i" command is used to list block devices on a system while providing detailed information about each device, such as UUID, type, read-only status, and more.

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