Command
fdiskExplanation
fdisk is a command-line utility for creating and manipulating disk partition tables.
Examples
List all disk partitions
fdisk -lEdit partition table
fdisk /dev/sdbfdiskfdisk is a command-line utility for creating and manipulating disk partition tables.
List all disk partitions
fdisk -lEdit partition table
fdisk /dev/sdb