sum [option] file
sum
option
file
Calculate and print a checksum and the number of (512-byte) blocks for file. Useful for verifying data transmission.
Use an alternate checksum algorithm; this produces the same results as the BSD version of sum.