coreutils: cksum invocation
1
1 6.3 ‘cksum’: Print CRC checksum and byte counts
1 ===============================================
1
1 ‘cksum’ computes a cyclic redundancy check (CRC) checksum for each given
1 FILE, or standard input if none are given or for a FILE of ‘-’.
1 Synopsis:
1
1 cksum [OPTION]... [FILE]...
1
1 ‘cksum’ prints the CRC checksum for each file along with the number
1 of bytes in the file, and the file name unless no arguments were given.
1
1 ‘cksum’ is typically used to ensure that files transferred by
1 unreliable means (e.g., netnews) have not been corrupted, by comparing
1 the ‘cksum’ output for the received files with the ‘cksum’ output for
1 the original files (typically given in the distribution).
1
1 The CRC algorithm is specified by the POSIX standard. It is not
1 compatible with the BSD or System V ‘sum’ algorithms (see the previous
1 section); it is more robust.
1
11 The only options are ‘--help’ and ‘--version’. ⇒Common
options.
1
1 An exit status of zero indicates success, and a nonzero value
1 indicates failure.
1