1CKSUM(1)                         User Commands                        CKSUM(1)
2
3
4

NAME

6       cksum - compute and verify file checksums
7

SYNOPSIS

9       cksum [OPTION]... [FILE]...
10

DESCRIPTION

12       Print or verify checksums.  By default use the 32 bit CRC algorithm.
13
14       With no FILE, or when FILE is -, read standard input.
15
16       Mandatory  arguments  to  long  options are mandatory for short options
17       too.
18
19       -a, --algorithm=TYPE
20              select the digest type to use.  See DIGEST below.
21
22       -b, --base64
23              emit base64-encoded digests, not hexadecimal
24
25       -c, --check
26              read checksums from the FILEs and check them
27
28       -l, --length=BITS
29              digest length in bits; must not exceed the max  for  the  blake2
30              algorithm and must be a multiple of 8
31
32       --raw  emit a raw binary digest, not hexadecimal
33
34       --tag  create a BSD-style checksum (the default)
35
36       --untagged
37              create a reversed style checksum, without digest type
38
39       -z, --zero
40              end  each  output  line  with NUL, not newline, and disable file
41              name escaping
42
43   The following five options are useful only when verifying checksums:
44       --ignore-missing
45              don't fail or report status for missing files
46
47       --quiet
48              don't print OK for each successfully verified file
49
50       --status
51              don't output anything, status code shows success
52
53       --strict
54              exit non-zero for improperly formatted checksum lines
55
56       -w, --warn
57              warn about improperly formatted checksum lines
58
59       --debug
60              indicate which implementation used
61
62       --help display this help and exit
63
64       --version
65              output version information and exit
66
67   DIGEST determines the digest algorithm and default output format:
68       sysv   (equivalent to sum -s)
69
70       bsd    (equivalent to sum -r)
71
72       crc    (equivalent to cksum)
73
74       md5    (equivalent to md5sum)
75
76       sha1   (equivalent to sha1sum)
77
78       sha224 (equivalent to sha224sum)
79
80       sha256 (equivalent to sha256sum)
81
82       sha384 (equivalent to sha384sum)
83
84       sha512 (equivalent to sha512sum)
85
86       blake2b
87              (equivalent to b2sum)
88
89       sm3    (only available through cksum)
90
91       When checking, the input should be a former output of this program,  or
92       equivalent standalone program.
93

AUTHOR

95       Written by Padraig Brady and Q. Frank Xia.
96

REPORTING BUGS

98       GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
99       Report any translation bugs to <https://translationproject.org/team/>
100
102       Copyright  ©  2023  Free Software Foundation, Inc.  License GPLv3+: GNU
103       GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
104       This is free software: you are free  to  change  and  redistribute  it.
105       There is NO WARRANTY, to the extent permitted by law.
106

SEE ALSO

108       Full documentation <https://www.gnu.org/software/coreutils/cksum>
109       or available locally via: info '(coreutils) cksum invocation'
110
111
112
113GNU coreutils 9.3               September 2023                        CKSUM(1)
Impressum