Files
cheatsheet-tldr/tldr/linux/cfdisk
2026-01-20 00:21:53 +00:00

19 lines
448 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`