1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 10:35:07 +00:00
serenity/Base/usr/share/man/man1/checksum.md
2023-09-17 16:49:35 +03:30

24 lines
676 B
Markdown

## Name
checksum - helper program for calculating checksums
## Synopsis
```**sh
$ b2sum [options...] <file...>
$ 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 `b2sum`, `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.