sha256sum

Compute and check SHA256 (256-bit) checksums.

Syntax
      sha256sum [OPTION]... [FILE]...  

Options
   -b, --binary   Read in binary mode.
   -c, --check    Read SHA256 sums from the FILEs and check them.
   -t, --text     Read in text mode (default). On a GNU system, there is no difference between binary and text mode.
   --help         Display this help and exit
   --version      Output version information and exit

The following options are useful only when verifying checksums:
   --quiet        Don’t print OK for each successfully verified file.
   --status       Don’t output anything, status code shows success.
   -w, --warn     Warn about improperly formatted checksum lines.

With no FILE, or when FILE is -, read standard input. The sums are computed as described in FIPS-180-2. When checking, the input should be a former output of this program. The default mode is to print a line with checksum, a character indicating type ('*' for binary, ' ' for text), and name for each FILE.

Full Texinfo man page:
info coreutils aqsha256sum invocationaq

“I spent most of the eighties, most of my life, riding around in somebody else’s car, in possession of, or ingested of, something illegal, on my way from something illegal to something illegal with many illegal things happening all around me” ~ Iggy Pop

Related Linux commands

cksum - Print CRC checksum and byte counts.
md5sum - Compute and check MD5 message digest.
sum - Print a checksum for a file.
Equivalent MacOS command: shasum - Print or Check SHA Checksums.


 
Copyright © 1999-2024 SS64.com
Some rights reserved