commands

sha512sum — compute and check SHA-512

GNU sha512sum computes SHA-512 digests or checks a trusted manifest with -c. A mismatch or other check failure is nonzero. A digest is not a signature. Example assumes a fresh archive lab fixture with new output names.

Formal Syntax & Structure

linux syntaxlinux
sha512sum [-c] [FILE...]

Parameters & Attributes

NameTypeDescription
-coptioncheck manifest
FILEoperandinput or trusted manifest

Return Value

exit status and output

GNU sha512sum computes SHA-512 digests or checks a trusted manifest with -c. A mismatch or other check failure is nonzero. A digest is not a signature.

Working Example

Example Snippetlinux
sha512sum report.txt > SHA512SUMSsha512sum -c SHA512SUMS
Linux Reference