1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-04 20:55:24 +02:00
tldr/pages/linux/fdisk.md
Managor 6619ffbc43
fdisk, sops, ack, box, crictl, gprbuild, serve, shellcheck, xidel, zgep: add option placeholders and minor fixes (#16160)
* Update fdisk.md

* sops

* ack

* box

* crictl

* gprbuild

* serve

* shellcheck

* xidel

* zgep
2025-04-12 14:42:06 +02:00

37 lines
612 B
Markdown

# fdisk
> Manage partition tables and partitions on a hard disk.
> See also: `partprobe`.
> More information: <https://manned.org/fdisk>.
- List partitions:
`sudo fdisk {{[-l|--list]}}`
- Start the partition manipulator:
`sudo fdisk {{/dev/sdX}}`
- Once partitioning a disk, create a partition:
`<n>`
- Once partitioning a disk, select a partition to delete:
`<d>`
- Once partitioning a disk, view the partition table:
`<p>`
- Once partitioning a disk, write the changes made:
`<w>`
- Once partitioning a disk, discard the changes made:
`<q>`
- Once partitioning a disk, open a help menu:
`<m>`