mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
fdisk: refresh (#6196)
This commit is contained in:
parent
6658b4e656
commit
c7cf075368
1 changed files with 26 additions and 2 deletions
|
@ -6,8 +6,32 @@
|
|||
|
||||
- List partitions:
|
||||
|
||||
`fdisk -l`
|
||||
`sudo fdisk -l`
|
||||
|
||||
- Start the partition manipulator:
|
||||
|
||||
`fdisk {{/dev/sdX}}`
|
||||
`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`
|
||||
|
|
Loading…
Add table
Reference in a new issue