UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: shlAppendix B
Obsolete Commands
Next: Reference: tabs
 

sum

sum [option] file

Calculate and print a checksum and the number of (512-byte) blocks for file. Possibly useful for verifying data transmission. See also cksum in Chapter 2.

Note: /usr/ucb/sum reports sizes in kilobytes, while /usr/bin/sum reports sizes in 512-byte blocks, even with the -r option.

Option

-r

Use an alternate checksum algorithm; this produces the same results as the BSD version of sum.


Previous: Reference: shlUNIX in a Nutshell: System V EditionNext: Reference: tabs
Reference: shlBook IndexReference: tabs

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System