lsblk Command in Linux - Explained with examples
This article covers how to use the lsblk command in Linux. In fact, lsblk prints all block devices (except RAM disks) in a tree-like format by default. Use lsblk --help to get a list of all available columns.
The lsblk command in Linux lists block devices.
Following is Lsblk's syntax:
$ lsblk [options] [device...]
Lsblk can be used to retrieve a vast range of information about all the block devices attached to the system.
How to make lsblk display info about device owner, group, and mode ?
This can be achieved using the -m command line option:
$ lsblk -m