Calculates and prints a cyclic redundancy check (CRC) for each file. The CRC algorithm is based on the polynomial used for Ethernet packets. For each file, cksum prints a line of the form:
Here, sum is the CRC,
count is the number of bytes in the file, and
filename is the file's name. The name is omitted if standard input is used.