fdisk
fdisk is a Linux command in the Disk & Storage category, rated intermediate difficulty. Manages disk partition tables (create, delete, resize partitions). The syntax is fdisk [options] device. Key options and parameters: device — disk device (e.g., /dev/sda). It returns partition information. A practical example: sudo fdisk -l # List all partitions sudo fdisk /dev/sda # Interactive partition editor sudo fdisk -l /dev/sdb # List partitions on specific disk A close relative is mount, which mounts a filesystem to make it accessible at a directory. A close relative is umount, which unmounts a mounted filesystem. A close relative is blkid, which displays block device attributes (UUID, filesystem type, label). More about this category: Linux disk and storage commands — mount, umount, fdisk, lsblk, and more. Manage disks, partitions, and filesystems. Related Disk & Storage commands: mount, umount, blkid, dd, lsblk, parted, mkfs, fsck.