Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sum(1-ucb) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cksum(1)

sum(1)

wc(1)

sum(1-ucb)              (BSD Compatibility Package)              sum(1-ucb)

NAME
     sum - calculate a checksum for a file

SYNOPSIS
     /usr/ucb/sum file

DESCRIPTION
     sum calculates and displays a 16-bit checksum for the named file or
     directory, also displays the size of the file in kilobytes. It is typ-
     ically used to look for bad spots, or to validate a file communicated
     over some transmission line. The checksum is calculated by an algo-
     rithm which may yield different results on machines with 16-bit ints
     and machines with 32-bit ints, so it cannot always be used to validate
     that a file has been transferred between machines with different-sized
     ints.

DIAGNOSTICS
     Read error is indistinguishable from EOF on most devices; check the
     block count.

NOTES
     The following error message is displayed if file is the mount point
     for an NFS file system:

          sum: Read error on file

SEE ALSO
     cksum(1), sum(1), wc(1).



























Page 1                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026