cksum
v(uutils coreutils) 0.13.0
cksum [OPTIONS] [FILE]...
Print CRC and size for each file
Options
--algorithm=<ALGORITHM>,-a <ALGORITHM>-
ck-common-help-algorithm
--untagged-
ck-common-help-untagged
--tag-
ck-common-help-tag-default
--length,-l-
ck-common-help-length
--raw-
ck-common-help-raw
--check,-c-
ck-common-help-check
--warn,-w-
ck-common-help-warn
--status-
ck-common-help-status
--quiet-
ck-common-help-quiet
--ignore-missing-
ck-common-help-ignore-missing
--strict-
ck-common-help-strict
--base64-
ck-common-help-base64
--text,-t--binary,-b--zero,-z-
ck-common-help-zero
--debug-
ck-common-help-debug
DIGEST determines the digest algorithm and default output format:
- sysv: equivalent to sum -s
- bsd: equivalent to sum -r
- crc: equivalent to cksum
- crc32b: only available through cksum
- md5: equivalent to md5sum
- sha1: equivalent to sha1sum
- sha2: equivalent to sha{224,256,384,512}sum
- sha3: only available through cksum
- blake2b: equivalent to b2sum
- sm3: only available through cksum
Examples
Display a 32-bit checksum, size in bytes, and filename:
cksum {{path/to/file}}
The examples are provided by the tldr-pages project under the CC BY 4.0 License.
Please note that, as uutils is a work in progress, some examples might fail.