Update cheatsheets

This commit is contained in:
ivuorinen
2024-06-12 00:14:27 +00:00
parent 77fd881bac
commit 5cc33140be
14 changed files with 32 additions and 32 deletions

View File

@@ -10,8 +10,8 @@ source: https://github.com/tldr-pages/tldr.git
- 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}}`
`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}}`
`dcfldd if={{/dev/disk_device}} of={{file.img}} hash={{sha512|sha384|sha256|sha1|md5}} hashlog={{file.hash}} hashwindow={{1G}}`