sha256sum.1 (983B)
- .\" utils-std: Collection of commonly available Unix tools
- .\" Copyright 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
- .\" SPDX-License-Identifier: MPL-2.0
- .Dd 2024-08-15
- .Dt SHA256SUM 1
- .Os
- .Sh NAME
- .Nm sha256sum
- .Nd write and verify sha256 checksums
- .Sh SYNOPSIS
- .Nm
- .Op Fl c
- .Op Ar file...
- .Sh DESCRIPTION
- .Nm
- reads each
- .Ar file ,
- or standard input if none were specified,
- and prints each of their SHA256 checksum.
- .Sh OPTIONS
- .Bl -tag -width _c
- .It Fl c
- Verify checksums contained in each
- .Ar file .
- Currently supported format being checksum, whitespace, an optional asterisk
- .Ql *
- and finally a filename.
- .El
- .Sh EXIT STATUS
- .Ex -std
- .Sh EXAMPLES
- Check tarballs in current directory against the
- .Pa sha256sums.txt
- digest and ignore the rest of it:
- .Dl printf %s\en *.tar* | grep -f - sha256sums.txt | sha256sum -c -
- .Sh STANDARDS
- SHA256 is standardized both in FIPS 180-4 and RFC 6234.
- .Sh AUTHORS
- .An Haelwenn (lanodan) Monnier Aq Mt contact+utils@hacktivis.me