Cmd Generator

fdisk

Manipulate disk partition table.

fdisk

Examples

# List all partitions
fdisk -l

# List a specific device
fdisk -l /dev/sda

# Interactive mode
fdisk /dev/sda

# List with sectors
fdisk -lu /dev/sda