Linux 101 : Getting information about the devices and the filesystem - lsblk -

To be able to list all the filesystem types available on a system, we use the below command:

We could also use the "lsblk" command to list the device names and type of the filesystem using he below option:

The above command lists all the block device, their name and their type. 
To be able to list a specific devices, we add its name to the command as below:

We could also use "lsblk" with a partition "/dev/sdb2" for example  as we can see below:

To be able to see other information, like the mountpoints of the devices, the size of the devices, their space usage, ..., we use the below command:


Leave as a comment: