md5sum
Calculate hash for each input file, reading from stdin if none, writing hexadecimal digits to stdout for each input file (md5=32 hex digits, sha1=40, sha224=56, sha256=64, sha384=96, sha512=128) followed by filename. toybox
On Linux
Linux
???sum [-bcs] [FILE]...
-bBrief (hash only, no filename)-cCheck each line of each FILE is the same hash+filename we'd output-sNo output, exit status 0 if all hashes match, 1 otherwiseSeveral platforms
Calculate MD5 cryptographic checksums.
Calculate the MD5 checksum for one or more files
md5sum path/to/file1 path/to/file2 ...IdentifyCalculate and save the list of MD5 checksums to a file
md5sum path/to/file1 path/to/file2 ... >path/to/file.md5IdentifyCalculate an MD5 checksum from stdin
command | md5sumIdentifyRead a file of MD5 checksums and filenames and verify all files have matching checksums
md5sum --check path/to/file.md5IdentifyOnly show a message for missing files or when verification fails
md5sum --check --quiet path/to/file.md5IdentifyOnly show a message when verification fails, ignoring missing files
md5sum --ignore-missing --check --quiet path/to/file.md5IdentifyCheck a known MD5 checksum of a file
echo known_md5_checksum_of_the_file path/to/file | md5sum --checkIdentify