mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-05 15:56:01 +00:00
Update cheatsheets
This commit is contained in:
@@ -13,30 +13,30 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`sudo parted {{/dev/sdX}}`
|
||||
|
||||
- Show partition information in interactive mode:
|
||||
- [Interactive] Show partition information in interactive mode:
|
||||
|
||||
`print`
|
||||
|
||||
- Select a disk in interactive mode:
|
||||
- [Interactive] Select a disk in interactive mode:
|
||||
|
||||
`select {{/dev/sdX}}`
|
||||
|
||||
- Create a 16 GB partition with the specified filesystem in interactive mode (`GPT` partition table):
|
||||
- [Interactive] Create a 16 GB partition with the specified filesystem in interactive mode (`GPT` partition table):
|
||||
|
||||
`mkpart {{partition_name}} {{btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|linux-swap|ntfs|reiserfs|udf|xfs}} {{0%}} {{16G}}`
|
||||
|
||||
- Create a 16 GB partition with the specified filesystem in interactive mode (`MBR` partition table):
|
||||
- [Interactive] Create a 16 GB partition with the specified filesystem in interactive mode (`MBR` partition table):
|
||||
|
||||
`mkpart {{primary|logical|extended}} {{btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|linux-swap|ntfs|reiserfs|udf|xfs}} {{0%}} {{16G}}`
|
||||
|
||||
- Resize a partition in interactive mode:
|
||||
- [Interactive] Resize a partition in interactive mode:
|
||||
|
||||
`resizepart {{/dev/sdXN}} {{end_position_of_partition}}`
|
||||
|
||||
- Remove a partition in interactive mode:
|
||||
- [Interactive] Remove a partition in interactive mode:
|
||||
|
||||
`rm {{/dev/sdXN}}`
|
||||
|
||||
- Display help:
|
||||
- [Interactive] Display help:
|
||||
|
||||
`?`
|
||||
|
||||
Reference in New Issue
Block a user