Use fdisk to do the trick:
fdisk -l | grep Disk
The output will be something like the following:
Disk /dev/sda: 10.7 GB, 10737418240 bytes
Disk /dev/sdb: 53.6 GB, 53687091200 bytes
Use fdisk to do the trick:
fdisk -l | grep Disk
The output will be something like the following:
Disk /dev/sda: 10.7 GB, 10737418240 bytes
Disk /dev/sdb: 53.6 GB, 53687091200 bytes
Tags
bash, fdisk, Harddisk, Linux, resize, Snippets
Information about Data protection