Compute SHA1 message digests.

Synopsis

sha1sum [OPTION]... [FILE]...

Description

Prints the SHA1 checksum of each FILE, or of standard input if none is given.

Options

-c, --check Read checksums from FILEs and check them.

--help Display help and exit.

Examples

$ sha1sum file.txt

Print the SHA1 checksum of file.txt.

$ sha1sum -c checksums.sha1

Verify files against saved checksums.

See Also

md5sum, sha256sum