Dương Mạnh Cường
New member
How do I list all drives in Linux?
Answer
The easiest way to list disks on Linux is to use
the “lsblk” command with no options. The “type” column will mention the “disk” as well as optional partitions and LVM available on it. Optionally, you can use the “-f” option for “filesystems“.
Answer
The easiest way to list disks on Linux is to use
the “lsblk” command with no options. The “type” column will mention the “disk” as well as optional partitions and LVM available on it. Optionally, you can use the “-f” option for “filesystems“.