lsblk Command Examples

Lists information about devices. More information: https://manned.org/lsblk.

lsblk

lsblk {{[-a|--all]}}

lsblk {{[-b|--bytes]}}

lsblk {{[-f|--fs]}}

lsblk {{[-i|--ascii]}}

lsblk {{[-t|--topology]}}

lsblk {{[-e|--exclude]}} {{1,7,...}}

lsblk {{[-o|--output]}} {{NAME,SERIAL,MODEL,TRAN,TYPE,SIZE,FSTYPE,MOUNTPOINT,...}}