Name

sum

Synopsis

sum [options] files

Description

Calculate and print a checksum and the number of (1KB) blocks for file. Useful for verifying data transmission.

Options

-r

The default setting. Use the BSD checksum algorithm.

-s, --sysv

Use alternate checksum algorithm as used on System V. The blocksize is 512 bytes.

--help

Print a help message and then exit.

--version

Print the version number and then exit.

Get Linux in a Nutshell, Third Edition 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.