bsd man page for sum

Query: sum

OS: bsd

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SUM(1)							      General Commands Manual							    SUM(1)

NAME
sum - sum and count blocks in a file
SYNOPSIS
sum file
DESCRIPTION
Sum calculates and prints a 16-bit checksum for the named file, and also prints the number of blocks in the file. It is typically used to look for bad spots, or to validate a file communicated over some transmission line.
SEE ALSO
wc(1)
DIAGNOSTICS
`Read error' is indistinguishable from end of file on most devices; check the block count. 7th Edition April 29, 1985 SUM(1)
Related Man Pages
sum(1) - opensolaris
sum(1) - mojave
sum(1b) - sunos
sum(1) - suse
cksum(1) - opendarwin
Similar Topics in the Unix Linux Community
summing numbers in files
how to add up a total in a summary report?
Modification of Summation Script
Making a script to copy files not seen before (using md5sum)
Honey, I broke awk! (duplicate line removal in 30M line 3.7GB csv file)