CKSUM(1)

πŸ“¦
version 9.10 Β· 5 versions
, in ubuntu stonking

✨ CKSUM(1) β€” the check-sum bestie era ✨

okay so. cksum is a User Commands girlie and she computes and verifies file checksums. that's it. that's the job. πŸ’…


πŸŽ€ NAME πŸŽ€

cksum β€” compute and verify file checksums πŸ¦‹


πŸ’– SYNOPSIS πŸ’–

cksum [OPTION]... [FILE]...

🌸 DESCRIPTION 🌸

Print or verify checksums. By default it uses the 32 bit CRC algorithm, no cap.

With no FILE, or when FILE is -, it reads standard input. (yes bestie, the classic "i'm a pipe now" move 🫢)

Mandatory arguments to long options are mandatory for short options too. the long-option energy is non-negotiable, fr fr.

  • -a, --algorithm=TYPE β€” select the digest type to use. See DIGEST below πŸ’œ
  • --base64 β€” emit base64-encoded digests, not hexadecimal. different flavor, same facts ✨
  • -c, --check β€” read checksums from the *FILE*s and check them πŸ”
  • -l, --length=BITS β€” digest length in bits; must not exceed the max size and must be a multiple of 8 for blake2b; must be 224, 256, 384, or 512 for sha2 or sha3. read those constraints again bestie, they are not a vibe suggestion 😭
  • --raw β€” emit a raw binary digest, not hexadecimal
  • --tag β€” create a BSD-style checksum (the default) πŸ‘‘
  • --untagged β€” create a reversed style checksum, without digest type
  • -z, --zero β€” end each output line with NUL, not newline, and disable file name escaping 🚫

🧚 the following five options are useful only when verifying checksums 🧚

  • --ignore-missing β€” don't fail or report status for missing files. we're ignoring that, respectfully πŸ™ˆ
  • --quiet β€” don't print OK for each successfully verified file. main character energy means no constant validation βœ‹
  • --status β€” don't output anything, status code shows success
  • --strict β€” exit non-zero for improperly formatted checksum lines. strict queen, periodt πŸ’…
  • -w, --warn β€” warn about improperly formatted checksum lines

🌈 the rest 🌈

  • --debug β€” indicate which implementation used πŸ›
  • --help β€” display this help and exit
  • --version β€” output version information and exit

⭐ DIGEST ⭐

DIGEST determines the digest algorithm and default output format. it's giving menu of options:

  • 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)

When checking, the input should be a former output of this program, or an equivalent standalone program. like, feed it its own leftovers, that's the whole bit πŸ“


πŸ‘‘ AUTHOR πŸ‘‘

Written by Padraig Brady and Q. Frank Xia. absolute icons, we stan πŸ’œ


😭 REPORTING BUGS 😭


πŸ”₯ SEE ALSO πŸ”₯

Packaged by Ubuntu (9.10-1ubuntu2) 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. There is NO WARRANTY, to the extent permitted by law.


this is GNU coreutils 9.10, dated August 2026, and the page is CKSUM(1). byeee bestie, go verify something πŸ’–πŸŒΈπŸ¦‹πŸŽ€βœ¨
πŸ“¦ where this page comes from