How Do I See Drives in Linux?
Contents

In order to list disk information on Linux, you have to use the “lshw” with the “class” option specifying “disk”. Combining “lshw” with the “grep” command, you can retrieve specific information about a disk on your system.

How do I see all drives in Linux?

how to list all hard disks in linux from command line

  1. df. The df command is primarily intended to report file system disk space usage. …
  2. lsblk. The lsblk command is to list block devices. …
  3. lshw. …
  4. blkid. …
  5. fdisk. …
  6. parted. …
  7. /proc/ file. …
  8. lsscsi.

How do I see all drives?

You can open File Explorer by pressing Windows key + E . In the left pane, select This PC, and all drives are shown on the right.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest