Manual / sum
sum(1)
| SUM(1) | General Commands Manual | SUM(1) |
NAME
sum - checksum files
SYNOPSIS
sum [file...]
DESCRIPTION
Sum sums the contents of a file. On maux the sum is a 16-bit rotating checksum: rotate right one bit, add the next byte, and retain the low 16 bits. For each file it prints the checksum, the number of 512-byte blocks rounded upward, and the file name. With no operands it reads standard input and omits the name. An input which cannot be opened is reported and skipped.
FILES
/usr/man/SUM this page
SEE ALSO
DIAGNOSTICS
Exit status is 0 on success, 1 if any input cannot be opened.
BUGS
This checksum detects accidental changes; it is not a cryptographic digest. It is not the CRC used by cksum.
| September 19, 2026 | maux |