Display the TOTAL harddisk size in linux

Posted by Jens on November 28, 2008

Use fdisk to do the trick:

  1. fdisk -l | grep Disk

The output will be something like the following:

  1. Disk /dev/sda: 10.7 GB, 10737418240 bytes
  2. Disk /dev/sdb: 53.6 GB, 53687091200 bytes
Trackbacks

Use this link to trackback from your own site.

Comments

Leave a response

Comments