Skip to content

Instantly share code, notes, and snippets.

@xiongnemo
Created February 23, 2022 12:00
Show Gist options
  • Save xiongnemo/afd7e973e9e83608255a174124622ffc to your computer and use it in GitHub Desktop.
Save xiongnemo/afd7e973e9e83608255a174124622ffc to your computer and use it in GitHub Desktop.
#/bin/sh
# $1: file (/tmp/ubuntu-20.04.3-desktop-amd64.iso)
# $2: device (/dev/sda)
sudo dd bs=4M if=$1 of=$2 conv=fdatasync status=progress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment