sum
NAME
sum - print a checksum and block count
SYNOPSIS
sum file ...
DESCRIPTION
Add the bytes of a file into a sixteen-bit total, rotating the
accumulator right one bit before each addition so that two bytes
swapped over do not go unnoticed, and print the total with the number
of 512-byte blocks.
This is how you checked a file had crossed a phone line intact: run
sum at both ends and compare the two numbers.
SEE ALSO
wc(1), cmp(1), uucp(1)