Skip to content

Instantly share code, notes, and snippets.

@lattice0
Last active November 10, 2017 03:17
Show Gist options
  • Save lattice0/806c09c3e15c457048ebb59d27d40edb to your computer and use it in GitHub Desktop.
Save lattice0/806c09c3e15c457048ebb59d27d40edb to your computer and use it in GitHub Desktop.
verify sha from usb iso image
https://unix.stackexchange.com/a/244379
dd if=/dev/sdb bs=4096 count=$(($(stat -c '%s' the.iso) / 4096)) | sha256sum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment