home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

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: shl UNIX in a Nutshell: System V Edition Next: Reference: tabs
Reference: shl Book Index Reference: 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










??????????????@Mail.ru