Forrest logo
back to context overview

dd

List of commands for dd:

  • dd:ai:26e44 how can i make an image file from a hard disk?
    $ dd if=/dev/sdX of=/path/to/output/image.img bs=4M
    try on your machine
    explain this command
  • dd:ai:53d2f Wipe entire disk using the dd command
    $ dd if=/dev/zero of=/dev/sda bs=1M
    try on your machine
    explain this command
  • dd:ai:55ba1 how do I completely wipe all local drives using dd
    $ dd if=/dev/zero of=/dev/sdX bs=4M status=progress
    try on your machine
    explain this command
  • dd:ai:709d1 Come clonare ssd
    $ dd if=/dev/sda of=/dev/sdb bs=64K conv=noerror,sync
    try on your machine
    explain this command
  • dd:ai:8875c How do i create an iso from a running live debian base distro?
    $ dd if=/dev/sda of=/path/to/save/live-debian.iso bs=4M status=progress
    try on your machine
    explain this command
  • dd:ai:89258 wipe root partition entirely
    $ dd if=/dev/zero of=/dev/${root_partition} status=progress
    try on your machine
    explain this command
  • dd:tldr:207f8 dd: Benchmark the write performance of a disk.
    $ dd if=/dev/zero of=${filename_1GB} bs=${1024} count=${1000000}
    try on your machine
    explain this command
  • dd:tldr:443e6 dd: Make a bootable USB drive from an isohybrid file (such like `archlinux-xxx.iso`).
    $ dd if=${filename-iso} of=/dev/${usb_drive}
    try on your machine
    explain this command
  • dd:tldr:4e0b2 dd: Clone a drive to another drive with 4 MiB block and ignore error.
    $ dd if=/dev/${source_drive} of=/dev/${dest_drive} bs=${4194304} conv=${noerror}
    try on your machine
    explain this command
  • dd:tldr:50378 dd: Generate a system backup into an IMG file.
    $ dd if=${-dev-drive_device} of=${filename-img}
    try on your machine
    explain this command
  • dd:tldr:6825c dd: Generate a file of 100 random bytes by using kernel random driver.
    $ dd if=/dev/urandom of=${path-to-random_file} bs=${100} count=${1}
    try on your machine
    explain this command
  • dd:tldr:9f6b5 dd: Clone a drive to another drive with 4 MiB block, ignore error and show the progress.
    $ dd if=${-dev-source_drive} of=${-dev-dest_drive} bs=${4M} conv=${noerror} status=progress
    try on your machine
    explain this command
  • dd:tldr:aeb5f dd: Make a bootable USB drive from an isohybrid file (such like `archlinux-xxx.iso`) and show the progress.
    $ dd if=${filename-iso} of=${-dev-usb_drive} status=progress
    try on your machine
    explain this command
  • dd:tldr:f26f2 dd: Generate a system backup into an IMG file and show the progress.
    $ dd if=/dev/${drive_device} of=${filename-img} status=progress
    try on your machine
    explain this command
  • dd:tldr:f721c dd: Check the progress of an ongoing dd operation (run this command from another shell).
    $ kill -USR1 $(pgrep ^dd)
    try on your machine
    explain this command
back to context overview