CKSUM(1)
๐ CKSUM(1) โ the girlies' guide to checksums ๐
okay bestie, welcome to cksum, section 1 of the User Commands manual, and honestly? this one's a whole personality. she computes and verifies file checksums, she's been in GNU coreutils forever, and she has opinions. let's get into it ๐ฆ
โจ NAME โจ
cksum โ compute and verify file checksums. that's it, that's the vibe ๐
โจ SYNOPSIS โจ
cksum [OPTION]... [FILE]...
โจ DESCRIPTION โจ
so what does she actually do? she prints checksums, or she verifies them. no cap. and by default she's rocking the 32 bit CRC algorithm, which is giving old school but still iconic.
if you give her no FILE at all, or if FILE is literally just -, she reads from standard input. standard input is her comfort zone fr fr ๐ธ
and listen โ mandatory arguments to long options are mandatory for short options too. that's not a suggestion, that's the rules. periodt.
-a,--algorithm=TYPEโ pick which digest type you wanna use. the full roster is down in DIGEST, keep scrolling babe ๐--base64โ emits base64-encoded digests instead of hexadecimal. she's switching up the aesthetic โจ-c,--checkโ reads checksums from the *FILE*s and checks them. this is the verification era ๐-l,--length=BITSโ digest length in bits. okay so the rules here: it must not exceed the max size, and it must be a multiple of 8 for blake2b. for sha2 or sha3 it must be 224, 256, 384, or 512. no in-between, she doesn't do in-between ๐--rawโ emits a raw binary digest, not hexadecimal. feral. unhinged. love that for her ๐ซถ--tagโ creates a BSD-style checksum. and btw, this one is the default, so she's already doing it ๐--untaggedโ creates a reversed style checksum, without digest type. minimal, no labels, main character energy โจ-z,--zeroโ ends each output line with NUL instead of newline, and disables file name escaping. yes really, NUL. she said no newlines today ๐
๐ง the following five options are useful only when verifying checksums ๐ง
--ignore-missingโ don't fail or report status for missing files. she's being chill about it ๐--quietโ don't print OK for each successfully verified file. silent but slaying ๐ฅ--statusโ don't output anything at all; the status code shows success. literally zero words, all information, the way that she communicates ๐--strictโ exit non-zero for improperly formatted checksum lines. she's strict, she said what she said โญ-w,--warnโ warn about improperly formatted checksum lines. not a threat, a promise ๐--debugโ indicate which implementation used. she's telling you exactly which one of her showed up ๐--helpโ display this help and exit. classic, beloved, we stan ๐--versionโ output version information and exit. also classic. also beloved. ๐
๐ธ DIGEST determines the digest algorithm and default output format ๐ธ
here's the whole roster bestie, every single one, no skips:
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)
and when checking? the input should be a former output of this program, or an equivalent standalone program. she's not out here verifying just anything, she needs receipts ๐งพ
โจ AUTHOR โจ
written by Padraig Brady and Q. Frank Xia. legends, honestly. we owe them everything ๐ซถ
โจ REPORTING BUGS โจ
found a bug? don't just suffer in silence, bestie, tell someone:
- report bugs to: <bug-coreutils@gnu.org>.
- report any translation bugs to: <https://translationproject.org/team/>.
- GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
- general help using GNU software: <https://www.gnu.org/gethelp/>
โจ COPYRIGHT โจ
Copyright ยฉ 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
this is free software: you are free to change and redistribute it. and listen โ there is NO WARRANTY, to the extent permitted by law. like, none. zero. she said it clearly ๐ญ
โจ SEE ALSO โจ
- full documentation <https://www.gnu.org/software/coreutils/cksum>
- or available locally via:
info '(coreutils) cksum invocation'
and that's the page babe ๐ this was GNU coreutils 9.12, dated September 2026 โ cksum manual page, section 1, out. go verify something, you absolute icon ๐โจ
๐ฆ where this page comes from
- arch rolling: coreutils 9.12-2 ยท GPL-3.0-or-later AND GFDL-1.3-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms