Cksum

Article on other languages:

del.icio.us del.icio.us
Digg Digg
Furl Furl
Reddit Reddit
Rojo Rojo
Add to OnlyWire

cksum is a POSIX command that reads the files specified by the File parameter and calculates a checksum, cyclic redundancy check (CRC) and the byte count for a file or files. If no files are specified, the cksum command reads standard input. The checksum, number of bytes, and file name are written to standard output.

The cksum command can be used to compare a suspect file copied or communicated over noisy transmission lines against an exact copy of a trusted file. The comparison made by the cksum command may not be cryptographically secure. However, it is unlikely that an accidentally damaged file will produce the same checksum as the original file.

The standard cksum command, as found on most UNIX and UNIX-like OS (including GNU/Linux, *BSD, Mac OS X, Solaris) uses a CRC algorithm based on the ethernet standard frame check and is therefore interoperable between implementations. The cksum command on Tru64 returns a different CRC value, unless the environment variable CMD_ENV is set to "xpg4".

Syntax

cksum [ File ... ]

See also

This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.


Giant Panda

Mercedes Car
James Bond Guide
This site monitored by SitePinger.net