What is Fdisk?
A command-line utility for managing disk partition tables on Linux systems.
Fdisk creates, deletes, resizes, and manages partitions on hard drives and SSDs. It supports MBR (Master Boot Record) partition tables. For GPT (GUID Partition Table), use gdisk or parted instead.
Usage: fdisk /dev/sda opens the interactive partition editor. Common operations include creating new partitions (n), deleting (d), changing types (t), listing (p), and writing changes (w). Always back up data before partitioning.