CKSUM(1)
π CKSUM β no cap, it's giving checksum royalty π
okay bestie, welcome to cksum (that's the manual name, the icon, the moment) from the General Commands Manual. sit down, grab a strawberry, and let's get into it β¨
π¦ NAME π¦
cksum β print CRC and size for each file. that's the whole job. humble. iconic. periodt π
πΈ SYNOPSIS πΈ
cksum [OPTIONS] [FILE]...
π DESCRIPTION π
Print CRC and size for each file. yeah that's literally it and honestly? she ate. you hand her files, she hands you back a CRC and a size, no drama, no sketchy vibes π
β¨ OPTIONS β¨
-a,--algorithm <ALGORITHM>β picks which digest type you're running with. peep DIGEST down below for the whole tea β
possible values, all of them, not skipping a single one:
sysvbsdcrccrc32bmd5sha1sha2sha3blake2bsm3sha224sha256sha384sha512blake3shake128shake256
--untaggedβ makes a reversed style checksum, and drops the digest type. no label, just vibes π«Ά--tagβ makes a BSD style checksum. and bestie, this one is the default π-l,--lengthβ digest length in bits. listen closely: it must not exceed the max size, and forblake2bit must be a multiple of 8. forsha2orsha3it must be 224, 256, 384, or 512. no improvising π--rawβ emit a raw binary digest, not hexadecimal. wild energy, honestly π-c,--checkβ read checksums from the FILEs and check them. the "wait, is this file still the same file?" mode π-w,--warnβ warns you about improperly formatted checksum lines. she's looking out for you fr fr π--statusβ doesn't output anything at all; the status code is the whole story, showing success. silent main character energy π--quietβ stops printingOKfor every single file that verified successfully. for when the celebrating gets loud π--ignore-missingβ doesn't fail and doesn't report status for missing files. ghosting, but politely π¦--strictβ exits non-zero for improperly formatted checksum lines. zero tolerance, no crumbs π--base64β emits base64-encoded digests, not hexadecimal. a whole different lewk π-z,--zeroβ ends each output line withNUL, not newline, and disables file name escaping. chaotic but make it precise π--debugβ prints CPU hardware capability detection info used bycksum. nerd mode activated, and I mean that as the highest compliment π₯-h,--helpβ print help π«Ά-V,--versionβ print version β
π EXTRA π
so DIGEST is the thing that decides both the digest algorithm and the default output format. here's the full mapping, every single line:
sysv: equivalent tosum -sbsd: equivalent tosum -rcrc: equivalent tocksumcrc32b: only available throughcksummd5: equivalent tomd5sumsha1: equivalent tosha1sumsha2: equivalent tosha{224,256,384,512}sumsha3: only available throughcksumblake2b: equivalent tob2sumsm3: only available throughcksum
π VERSION π
v(uutils coreutils) 0.12.0
π EXAMPLES π
display a 32-bit checksum, size in bytes and filename:
cksum path/to/file
okay important bestie note π«Ά the examples are provided by the tldr-pages project <https://tldr.sh> under the CC BY 4.0 License. and please remember: as uutils is a work in progress, some examples might fail. we're all growing together π
and that's the page!! genuinely obsessed with her. go checksum something, you absolute icon π β¨
signing off β this was cksum from uutils coreutils, version 0.12.0, dated 2026-09-25. mwah πππ
π¦ where this page comes from
- ubuntu stonking: rust-coreutils 0.12.0-1ubuntu2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms