10 fdisk Commands to Manage Linux Disk Partitions

Ravi Saive

Print all Partition Table in Linux To print all partition table of hard disk, you must be on command mode of specific hard disk say /dev/sda. You must be in fdisk command mode to do this. Command (m for help): d Partition number (1-4): 4 Command (m for help): w The partition table has been altered! Type the following command to enter into command mode of specific hard disk. After entering in command mode, now press “n” command to create a new partition under /dev/sda with specific size.

Visit Link