Forrest logo
back to context overview

parted

List of commands for parted:

  • parted:ai:6cc27 remove partition from drive
    $ parted /dev/sdX rm Y
    try on your machine
    explain this command
  • parted:tldr:1e51e parted: Select a disk in interactive mode.
    $ select ${-dev-sdX}
    try on your machine
    explain this command
  • parted:tldr:2562a parted: List partitions on all block devices.
    $ sudo parted --list
    try on your machine
    explain this command
  • parted:tldr:390a0 parted: Create a 16 GB partition with the specified filesystem in interactive mode.
    $ mkpart ${select} ${select1} ${0%} ${16G}
    try on your machine
    explain this command
  • parted:tldr:40b46 parted: Create a new partition table of the specified label-type.
    $ sudo parted --script ${-dev-sdX} mklabel ${select}
    try on your machine
    explain this command
  • parted:tldr:b3977 parted: Resize a partition in interactive mode.
    $ resizepart ${-dev-sdXN} ${end_position_of_partition}
    try on your machine
    explain this command
  • parted:tldr:e8e8e parted: Start interactive mode with the specified disk selected.
    $ sudo parted ${-dev-sdX}
    try on your machine
    explain this command
  • parted:tldr:f7531 parted: Show partition information in interactive mode.
    $ print
    try on your machine
    explain this command
back to context overview