Debian Codegraph @

upstream/debian-unstable/man1/cksum.1

raw
1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1.
2 .TH CKSUM "1" "February 2026" "GNU coreutils 9.10" "User Commands"
3 .SH NAME
4 cksum \- compute and verify file checksums
5 .SH SYNOPSIS
6 .B cksum
7 [\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]...
8 .SH DESCRIPTION
9 .\" Add any additional description here
10 .PP
11 Print or verify checksums.
12 By default use the 32 bit CRC algorithm.
13 .PP
14 With no FILE, or when FILE is \-, read standard input.
15 .PP
16 Mandatory arguments to long options are mandatory for short options too.
17 .TP
18 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum-a'\fB\-a, \-\-algorithm=\,TYPE\fP\X'tty: link'\/\fR
19 select the digest type to use. See DIGEST below
20 .TP
21 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum--base64'\fB\-\-base64\fP\X'tty: link'
22 emit base64\-encoded digests, not hexadecimal
23 .TP
24 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum-c'\fB\-c, \-\-check\fP\X'tty: link'
25 read checksums from the FILEs and check them
26 .TP
27 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum-l'\fB\-l, \-\-length=\,BITS\fP\X'tty: link'\/\fR
28 digest length in bits; must not exceed the max size
29 and must be a multiple of 8 for blake2b;
30 must be 224, 256, 384, or 512 for sha2 or sha3
31 .TP
32 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum--raw'\fB\-\-raw\fP\X'tty: link'
33 emit a raw binary digest, not hexadecimal
34 .TP
35 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum--tag'\fB\-\-tag\fP\X'tty: link'
36 create a BSD\-style checksum (the default)
37 .TP
38 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum--untagged'\fB\-\-untagged\fP\X'tty: link'
39 create a reversed style checksum, without digest type
40 .TP
41 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum-z'\fB\-z, \-\-zero\fP\X'tty: link'
42 end each output line with NUL, not newline,
43 and disable file name escaping
44 .SS "The following five options are useful only when verifying checksums:"
45 .TP
46 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum--ignore-missing'\fB\-\-ignore\-missing\fP\X'tty: link'
47 don't fail or report status for missing files
48 .TP
49 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum--quiet'\fB\-\-quiet\fP\X'tty: link'
50 don't print OK for each successfully verified file
51 .TP
52 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum--status'\fB\-\-status\fP\X'tty: link'
53 don't output anything, status code shows success
54 .TP
55 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum--strict'\fB\-\-strict\fP\X'tty: link'
56 exit non\-zero for improperly formatted checksum lines
57 .TP
58 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum-w'\fB\-w, \-\-warn\fP\X'tty: link'
59 warn about improperly formatted checksum lines
60 .TP
61 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum--debug'\fB\-\-debug\fP\X'tty: link'
62 indicate which implementation used
63 .TP
64 \X'tty: link https://www.gnu.org/software/coreutils/cksum#cksum--help'\fB\-\-help\fP\X'tty: link'
65 display this help and exit
66 .TP
67 \X'tty: link https://www.gnu.org/software/coreutils/cksum#cksum--version'\fB\-\-version\fP\X'tty: link'
68 output version information and exit
69 .SS "DIGEST determines the digest algorithm and default output format:"
70 .TP
71 sysv
72 (equivalent to sum \fB\-s\fR)
73 .TP
74 bsd
75 (equivalent to sum \fB\-r\fR)
76 .TP
77 crc
78 (equivalent to cksum)
79 .TP
80 crc32b
81 (only available through cksum)
82 .TP
83 md5
84 (equivalent to md5sum)
85 .TP
86 sha1
87 (equivalent to sha1sum)
88 .TP
89 sha2
90 (equivalent to sha{224,256,384,512}sum)
91 .TP
92 sha3
93 (only available through cksum)
94 .TP
95 blake2b
96 (equivalent to b2sum)
97 .TP
98 sm3
99 (only available through cksum)
100 .PP
101 When checking, the input should be a former output of this program,
102 or equivalent standalone program.
103 .SH AUTHOR
104 Written by Padraig Brady and Q. Frank Xia.
105 .SH "REPORTING BUGS"
106 Report bugs to: bug\[email protected]
107 .br
108 GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
109 .br
110 General help using GNU software: <https://www.gnu.org/gethelp/>
111 .br
112 Report any translation bugs to <https://translationproject.org/team/>
113 .SH "SEE ALSO"
114 Full documentation <https://www.gnu.org/software/coreutils/cksum>
115 .br
116 or available locally via: info \(aq(coreutils) cksum invocation\(aq
117 .PP
118 .br
119 Packaged by Debian (9.10\-1)
120 .br
121 Copyright \(co 2026 Free Software Foundation, Inc.
122 .br
123 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
124 .br
125 This is free software: you are free to change and redistribute it.
126 .br
127 There is NO WARRANTY, to the extent permitted by law.