Verify downloads with sha512sum
Check that an ISO or package file arrived bit-for-bit intact before you flash or install it.
01Command
$ sha512sum -c SHA512SUMS02What it does
sha512sum computes a 512-bit hash that changes if even one bit of the file differs, catching truncated downloads and corrupted USB sticks. The -c mode reads a checksum list and verifies every entry, printing OK or FAILED per file; without -c it just prints hashes you can eyeball. The same syntax applies to sha256sum and the whole md5sum family.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- sha512sum(1) — Arch Manual PagesEvidence: Same coreutils page: -c/--check verifies listed checksums, --tag and per-file OK/FAILED reporting described.
- sha512sum(1) — Debian bookwormEvidence: Documents sha512sum [OPTION]... [FILE]... with -c, --check reading checksums from a file and verifying each listed file.
Last verified: 2026-09-19 · Category: Security & Privacy
06Related solutions
Generate a modern Ed25519 public/private key pair in ~/.ssh for authenticating to servers and Git platforms without passwords.
Add or remove read, write, and execute permission for the owner, group, or others using symbolic or octal modes.
Add a UFW rule to permit inbound traffic on a TCP or UDP port, such as SSH on port 22.