SHA256SUM(1) | General Commands Manual | SHA256SUM(1) |
sha256sum
— write
and verify sha256 checksums
sha256sum |
[-c ] [file...] |
sha256sum
reads each
file, or standard input if none were specified, and
prints each of their SHA256 checksum.
-c
*
’ and finally a filename.The sha256sum
utility exits 0 on
success, and >0 if an error occurs.
Check tarballs in current directory against the sha256sums.txt digest and ignore the rest of it:
printf %s\n *.tar* | grep -f -
sha256sums.txt | sha256sum -c -
SHA256 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 |