HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

cfdisk — Manage partition tables and partitions on a hard disk using a curses UI. See also: `parted`. More in

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandcfdiskandpartitionmanageclitablespartitions
linux

Problem

How to use the cfdisk command: Manage partition tables and partitions on a hard disk using a curses UI. See also: parted. More information: <https://manned.org/cfdisk>.

Solution

cfdisk — Manage partition tables and partitions on a hard disk using a curses UI. See also: parted. More information: <https://manned.org/cfdisk>.

Start the partition manipulator with a specific device:
sudo cfdisk {{/dev/sdX}}


Create a new partition table for a specific device and manage it:
sudo cfdisk {{[-z|--zero]}} {{/dev/sdX}}

Code Snippets

Start the partition manipulator with a specific device

sudo cfdisk {{/dev/sdX}}

Create a new partition table for a specific device and manage it

sudo cfdisk {{[-z|--zero]}} {{/dev/sdX}}

Context

tldr-pages: linux/cfdisk

Revisions (0)

No revisions yet.