B2SUM(1)
π B2SUM(1) π
okay bestie, welcome to b2sum β she's a User Command in the GNU coreutils fam and she computes AND checks BLAKE2 message digests. her whole personality is "hashing things, but make it certified". let's get into it β¨
β¨ NAME β¨
b2sum β compute and check BLAKE2 message digest π¦
πΈ SYNOPSIS πΈ
b2sum [OPTION]... [FILE]...
π DESCRIPTION π
So what she actually DOES: prints or checks BLAKE2b (512-bit) checksums. she's the legacy interface to the cksum utility, which β iykyk β means she's been around and she's still that girl. π
If you give her no FILE, or if FILE is literally just -, she reads standard input. stdin girlies rise up π
okay and a big one, truly no cap: mandatory arguments to long options are mandatory for short options too. like the rule is the rule, both ways, periodt.
-b,--binaryβ reads in binary mode π-c,--checkβ reads checksums out of the FILEs and, like, checks them β¨-l,--length=BITSβ this is the digest length in bits. heads up bestie, it must not exceed the max size, and it must be a multiple of 8 for blake2b; and forsha2orsha3it must be224,256,384, or512. so no freestyling with the numbers okay π--tagβ makes a BSD-style checksum, very chic-t,--textβ reads in text mode, which is the default btw π-z,--zeroβ every output line ends with a NUL instead of a newline, AND it disables file name escaping. that second part is lowkey important, don't skip it π«Ά
π₯ the five options that are literally only useful when you're verifying checksums π₯
bestie these are the verification-only girlies, they do NOTHING unless you're checking π
--ignore-missingβ doesn't fail and doesn't report status for files that are missing. she's unbothered π--quietβ doesn't printOKfor every single file that verified successfully. for when the success spam is too much π--statusβ outputs absolutely nothing. the status code is the whole entire story. silence is the vibe π--strictβ exits non-zero for checksum lines that are improperly formatted. she's strict because she loves you π-w,--warnβ warns you about improperly formatted checksum lines, like a good friend would π¦--helpβ displays this help and exits β--versionβ outputs version information and exits π
the sums get computed exactly as described in RFC 7693, no notes. π
when you're checking, the input should be a former output of this program β like, she's checking her own receipts, it's a self-care thing.
and the default mode prints a line with: the checksum, then a space, then a character that indicates the input mode (* for binary, ' ' for text or where binary is insignificant), then the name, for each FILE.
also, real talk: there is no difference between binary mode and text mode on GNU systems. so if you were stressed about picking β on GNU, you can just chill π
π AUTHOR π
Written by Padraig Brady and Samuel Neves. icons only, we stan π
π REPORTING BUGS π
found a bug? not to be dramatic but tell someone:
- Report bugs to:
bug-coreutils@gnu.org - GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
- General help using GNU software: <https://www.gnu.org/gethelp/>
- Report any translation bugs to: <https://translationproject.org/team/>
π¦ SEE ALSO π¦
cksum(1)- Full documentation <https://www.gnu.org/software/coreutils/b2sum>
- or available locally via:
info '(coreutils) b2sum invocation'
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.
and that's the whole page bestie π this one's from GNU coreutils 9.10, dated August 2026 β go hash something and feel gorgeous doing it. slay, stay checksummed, periodt. πβ¨
π¦ where this page comes from
- ubuntu stonking: gnu-coreutils 9.10-1ubuntu2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms