Команда cksum

The cksum command calculates and writes to standard output a cyclic redundancy check (CRC) for each input file, and also writes to standard output the number of octets in each file.

Синтаксис

cksum file

fileThe name of the file you wish to check.

Примеры

cksum file - would give results similar to:

1740057581         19   file

When the file information is displayed it will be displayed in the following format:

"%u %d %s\n" <checksum>, <# of octets>, <path name>

Обратно к списку команд