SUM(1)
๐ SUM(1) โ the checksum bestie ๐
ok so like. it's sum, it lives in the User Commands section of the manual, and it's here to checksum and count the blocks in a file. slay.
โจ NAME โจ
sum โ checksum and count the blocks in a file
๐ธ SYNOPSIS ๐ธ
sum [OPTION]... [FILE]...
๐ฆ DESCRIPTION ๐ฆ
ok bestie so here's the vibe: sum prints or checks BSD (16-bit) checksums. it's the legacy interface to the cksum(1) utility, like it's the older sibling who paved the way and now just chills ๐
and if you give it no FILE, or if FILE is -? it reads from standard input. classic. very main character of it.
here are the options, and yes there are only four, we're keeping it minimal:
-rโ use the BSD sum algorithm (this is the default, btw, so it's giving "I'm already on"), and it uses 1K blocks-s,--sysvโ use the System V sum algorithm instead, and it uses 512 bytes blocks--helpโ display this help and exit ๐ซถ--versionโ output version information and exit โญ
no cap: -r is the default, so if you don't say anything, you're getting BSD and 1K blocks. periodt.
๐ AUTHOR ๐
Written by Kayvan Aghaiepour and David MacKenzie. icons, honestly.
๐ REPORTING BUGS ๐
found a bug? not the vibe, but okay, tell the people:
- 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.
There is NO WARRANTY, to the extent permitted by law.
๐ SEE ALSO ๐
- Full documentation <https://www.gnu.org/software/coreutils/sum>
- or available locally via:
info '(coreutils) sum invocation'
ok that's the whole page, you ate it ๐
this was GNU coreutils 9.12, dated September 2026 โ and that's SUM(1), signing off, ily, go checksum something ๐ฆโจ
๐ฆ 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