mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-24 17:52:17 +00:00
Update cheatsheets
This commit is contained in:
42
tldr/linux/gdisk
Normal file
42
tldr/linux/gdisk
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# gdisk
|
||||
|
||||
> GPT (GUID Partition Table) disk partitioning tool.
|
||||
> See also: `cfdisk`, `fdisk`, `parted`.
|
||||
> More information: <https://manned.org/gdisk>.
|
||||
|
||||
- List partitions:
|
||||
|
||||
`sudo gdisk {{[-l|--list]}}`
|
||||
|
||||
- Start the interactive partition manipulator:
|
||||
|
||||
`sudo gdisk {{/dev/sdX}}`
|
||||
|
||||
- Open a help menu:
|
||||
|
||||
`<?>`
|
||||
|
||||
- Print the [p]artition table:
|
||||
|
||||
`<p>`
|
||||
|
||||
- Add a [n]ew partition:
|
||||
|
||||
`<n>`
|
||||
|
||||
- Select a partition to [d]elete:
|
||||
|
||||
`<d>`
|
||||
|
||||
- [w]rite table to disk and exit:
|
||||
|
||||
`<w>`
|
||||
|
||||
- [q]uit without saving changes:
|
||||
|
||||
`<q>`
|
||||
Reference in New Issue
Block a user