fdisk

A program for managing partition tables and partitions on a hard disk.
See also: `partprobe`.
More information.
sudo fdisk -l
sudo fdisk {/dev/sdX}
n
d
p
w
q
m
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY