cksum(1)
π cksum(1) β General Commands Manual π
okay bestie, welcome to the manual for cksum, no cap. this is cksum(1) from the General Commands Manual section and she is literally the moment. let's go π¦
β¨ NAME β¨
cksum β Print CRC and size for each file
πΈ SYNOPSIS πΈ
cksum [-a|--algorithm] [--untagged] [--tag] [-l|--length] [--raw]
[-c|--check] [-w|--warn] [--status] [--quiet] [--ignore-missing]
[--strict] [--base64] [-z|--zero] [--debug] [-h|--help] [-V|--version]
[file]
π DESCRIPTION π
Print CRC and size for each file
that's the whole vibe. checksums, sizes, one file or many. slay. π
β¨ OPTIONS β¨
-a,--algorithm <ALGORITHM>β pick which digest type you want to use. the full DIGEST rundown lives down in EXTRA, go look π
Possible values:
sysvbsdcrccrc32bmd5sha1sha2sha3blake2bsm3sha224sha256sha384sha512blake3shake128shake256
--untaggedβ makes a reversed style checksum, and it leaves the digest type off. no tag, no label, just vibes β¨--tagβ makes a BSD style checksum. this one is the default, so she's the main character π-l,--lengthβ the digest length in bits. important rules, bestie, write these down ποΈ: it must not exceed the max size, and it must be a multiple of 8 forblake2b. also it must be 224, 256, 384, or 512 forsha2orsha3. so like, do not freestyle the numbers here.--rawβ emits a raw binary digest, not hexadecimal. it's giving β¨unfilteredβ¨-c,--checkβ reads checksums from the FILEs and checks them-w,--warnβ warns you about checksum lines that are improperly formatted. she will absolutely tell on them π--statusβ doesn't output anything at all, the status code is the whole story (it shows success)--quietβ doesn't printOKfor each file that verified successfully. less yapping, same correctness π«Ά--ignore-missingβ doesn't fail or report status for missing files. we simply do not perceive them π--strictβ exits non-zero for improperly formatted checksum lines. zero tolerance era π₯--base64β emits base64-encoded digests, not hexadecimal-z,--zeroβ ends each output line withNUL, not newline, and disables file name escaping--debugβ prints the CPU hardware capability detection info thatcksumuses. nerdy and iconic π§-h,--helpβ Print help-V,--versionβ Print version
π EXTRA π
DIGEST determines the digest algorithm and the default output format. here's the whole lineup, fr fr:
sysv: (equivalent tosum -s)bsd: (equivalent tosum -r)crc: (equivalent tocksum)crc32b: (only available throughcksum)md5: (equivalent tomd5sum)sha1: (equivalent tosha1sum)sha2: (equivalent tosha{224,256,384,512}sum)sha3: (only available throughcksum)blake2b: (equivalent tob2sum)sm3: (only available throughcksum)
β VERSION β
v(uutils coreutils) 0.7.0
heads up bestie: some of these digests are only reachable throughcksumitself (crc32b,sha3,sm3), so don't go looking for them anywhere else. and the-l,--lengthrules above? those are hard limits, not suggestions. π
okay that's the whole page, and we're signing off with the cutest little footer moment: this is cksum from uutils coreutils, version 0.7.0, dated cksum(1). she ate and left no crumbs. periodt ππβ¨
π¦ where this page comes from
- epel 10: rust-coreutils-devel 0.7.0-10.el10_3 Β· MIT
- epel 10: uutils-coreutils 0.7.0-10.el10_3 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- fedora 43: rust-coreutils-devel 0.7.0-12.fc43 Β· MIT
- fedora 43: uutils-coreutils 0.7.0-12.fc43 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms