Options (1)
-c, --checkbooleanRead a file of SHA1 checksums and filenames and verify all files have matching checksums
Example:
sha1sum {{[-c|--check]}} {{path/to/file.sha1}}Examples (7)
Calculate the SHA1 checksum for one or more files
sha1sum path/to/file1 path/to/file2 ...Calculate and save the list of SHA1 checksums to a file
sha1sum path/to/file1 path/to/file2 ... > path/to/file.sha1Read a file of SHA1 checksums and filenames and verify all files have matching checksums
sha1sum [-c|--check] path/to/file.sha1Only show a message for missing files or when verification fails
sha1sum [-c|--check] --quiet path/to/file.sha1Only show a message when verification fails, ignoring missing files
sha1sum --ignore-missing [-c|--check] --quiet path/to/file.sha1made by @shridhargupta | data from tldr-pages