.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5. .TH CKSUM "1" "March 2024" "GNU coreutils 9.4" "User Commands" .SH NAME cksum \- compute and verify file checksums .SH SYNOPSIS .B cksum [\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]... .SH DESCRIPTION .\" Add any additional description here .PP Print or verify checksums. By default use the 32 bit CRC algorithm. .PP With no FILE, or when FILE is \-, read standard input. .PP Mandatory arguments to long options are mandatory for short options too. .TP \fB\-a\fR, \fB\-\-algorithm\fR=\fI\,TYPE\/\fR select the digest type to use. See DIGEST below. .TP \fB\-\-base64\fR emit base64\-encoded digests, not hexadecimal .TP \fB\-c\fR, \fB\-\-check\fR read checksums from the FILEs and check them .TP \fB\-l\fR, \fB\-\-length\fR=\fI\,BITS\/\fR digest length in bits; must not exceed the max for the blake2 algorithm and must be a multiple of 8 .TP \fB\-\-raw\fR emit a raw binary digest, not hexadecimal .TP \fB\-\-tag\fR create a BSD\-style checksum (the default) .TP \fB\-\-untagged\fR create a reversed style checksum, without digest type .TP \fB\-z\fR, \fB\-\-zero\fR end each output line with NUL, not newline, and disable file name escaping .SS "The following five options are useful only when verifying checksums:" .TP \fB\-\-ignore\-missing\fR don't fail or report status for missing files .TP \fB\-\-quiet\fR don't print OK for each successfully verified file .TP \fB\-\-status\fR don't output anything, status code shows success .TP \fB\-\-strict\fR exit non\-zero for improperly formatted checksum lines .TP \fB\-w\fR, \fB\-\-warn\fR warn about improperly formatted checksum lines .TP \fB\-\-debug\fR indicate which implementation used .TP \fB\-\-help\fR display this help and exit .TP \fB\-\-version\fR output version information and exit .SS "DIGEST determines the digest algorithm and default output format:" .TP sysv (equivalent to sum \fB\-s\fR) .TP bsd (equivalent to sum \fB\-r\fR) .TP crc (equivalent to cksum) .TP md5 (equivalent to md5sum) .TP sha1 (equivalent to sha1sum) .TP sha224 (equivalent to sha224sum) .TP sha256 (equivalent to sha256sum) .TP sha384 (equivalent to sha384sum) .TP sha512 (equivalent to sha512sum) .TP blake2b (equivalent to b2sum) .TP sm3 (only available through cksum) .PP When checking, the input should be a former output of this program, or equivalent standalone program. .SH AUTHOR Written by Padraig Brady and Q. Frank Xia. .SH "REPORTING BUGS" GNU coreutils online help: .br Report any translation bugs to .SH COPYRIGHT Copyright \(co 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH "SEE ALSO" Full documentation .br or available locally via: info \(aq(coreutils) cksum invocation\(aq