1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 15:45:06 +00:00
serenity/Base/usr/share/man/man1/checksum.md
implicitfield 480e517f03 checksum: Support the '--check' option
This commit also updates 'checksum' to use the Core::Stream::File API.
2022-10-12 12:01:40 -06:00

21 lines
626 B
Markdown

## Name
checksum - helper program for calculating checksums
## Synopsis
`$ md5sum [options...] <file...>`
`$ sha1sum [options...] <file...>`
`$ sha256sum [options...] <file...>`
`$ sha512sum [options...] <file...>`
## Description
This program calculates and print specified checksum of files. It cannot be run directly, only
as `md5sum`, `sha1sum`, `sha256sum` or `sha512sum`. A non-zero exit code is returned if the
input cannot be read. If the '--check' option is used, a non-zero exit code is also returned
if the checksums cannot be verified.
## Options
* `-c`, `--check`: Verify checksums against `file` or stdin.