System Grab Bag

View all TLDR pages from common (or from all pages)

dcfldd

Enhanced version of dd for forensics and security. More information: http://dcfldd.sourceforge.net/.
  • Copy a disk to a raw image file and hash the image using SHA256:
    dcfldd if=/dev/{{disk_device}} of={{file.img}} hash=sha256 hashlog={{file.hash}}
  • Copy a disk to a raw image file, hashing each 1 GB chunk:
    dcfldd if=/dev/{{disk_device}} of={{file.img}} hash={{sha512|sha384|sha256|sha1|md5}} hashlog={{file.hash}} hashwindow={{1G}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.