Print CRC checksum and byte counts

computes a cyclic redundancy check (CRC) checksum for each given FILE, or standard input if none are given or for a FILE of `-'.

      cksum [OPTION]... [FILE]...

`cksum' prints the CRC checksum for each file along with the number
of bytes in the file, and the filename unless no arguments were given.

`cksum' is typically used to ensure that files transferred by
unreliable means (e.g., netnews) have not been corrupted, by comparing
the `cksum' output for the received files with the `cksum' output for
the original files (typically given in the distribution).

The CRC algorithm is specified by the POSIX.2 standard.  It is not
compatible with the BSD or System V `sum' algorithms; it is more robust.

   The only options are `--help' and `--version'.

"How to be green? consume less, share more, enjoy life" - Penny Kemp

Related commands:

sum - Print a checksum for a file

Windows equivalent commands:

CHKDSK - Check Disk - check and repair disk problems

Back to the Top

Simon Sheppard