Debian Codegraph @

upstream/debian-trixie/man1/cksum.1

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