SHA1SUM(1) | General Commands Manual | SHA1SUM(1) |
sha1sum
— write
and verify sha1 checksums
sha1sum |
[-c ] [file...] |
sha1sum
reads each
file, or standard input if none were specified, and
prints each of their SHA1 checksum.
-c
*
’ and finally a filename.The sha1sum
utility exits 0 on
success, and >0 if an error occurs.
Check tarballs in current directory against the sha1sums.txt digest and ignore the rest of it:
printf %s\n *.tar* | grep -f -
sha1sums.txt | sha1sum -c -
SHA1 is standardized both in FIPS 180-4 and RFC 3174.
Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
Due to it's known collisions SHA-1 is deprecated, the
sha1sum
utility is only provided in the interest of
compatibility and verification of legacy checksums. For non-legacy usage,
sha256sum(1) should be used
instead.
2024-08-15 | Linux 6.6.67-gentoo-x86_64 |