sum

Compute checksum on file or pipeline

Usage: sum options [list-of-files]

Standard Input: Used only if no list-of-files is given

Standard Output: Used to display results

Note

A matching checksum indicates a high probability that the data is the same.

SEE ALSO

For more information, see page 263

Useful options:

-l supports a long 32-bit checksum under SCO UNIX 3.2v5 (but not SCO UnixWare 7).

-r means compute rotating checksum that can detect differences in order as well as contents.

Get Practical UNIX now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.