How do I list all hard drives in Linux?

How do I list all hard drives in Linux?
Answer
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.
 

Tìm kiếm

Back
Top