SHA512SUM(1) General Commands Manual SHA512SUM(1)

sha512sumwrite and verify sha512 checksums

sha512sum [-c] [file...]

sha512sum reads each file, or standard input if none were specified, and prints each of their SHA512 checksum.

Verify checksums contained in each file. Currently supported format being checksum, whitespace, an optional asterisk ‘*’ and finally a filename.

The sha512sum utility exits 0 on success, and >0 if an error occurs.

Check tarballs in current directory against the sha512sums.txt digest and ignore the rest of it:

printf %s\n *.tar* | grep -f - sha512sums.txt | sha512sum -c -

SHA512 is standardized both in FIPS 180-4 and RFC 6234.

Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>

2024-08-15 Linux 6.6.67-gentoo-x86_64