lsblk

Linux · System · available in the simulator

What it does

List block devices in a tree-like format.

Syntax

lsblk [opciones]

Options and parameters

  • -f

    Output filesystem, label, and UUID.

    lsblk -f
  • -a

    Include empty devices.

  • -p

    Print full device paths.

  • -o

    Specify which output columns to display.

Usage examples

  • lsblk
  • lsblk -f
  • lsblk -a
  • lsblk -o NAME,SIZE,FSTYPE,MOUNTPOINTS
Practise lsblk

Related commands