lsblk
Display devices supported by the system as a tree
–m show the device’s owner and mount mode NAME – the device name MAJ:MIN - Every device on a Linux operating system is represented by a file, for block (disk) devices, they describe the device using major and minor device numbers. RM – removable device – shows 1 if this is a removable device and 0 if it’s not TYPE – the device type MOUNTPOINT - the location where the device is mounted RO – it will display 1 for read-only filesystems and 0 for those that are not read-only SIZE – the size of the device