cksum command in Linux with examples
cksum command in Linux is used to display a
CRC(Cyclic Redundancy Check) value,
the byte size of the file and
the name of the file to standard output. CRC is unique for each file and only changes if the file is edited. It is used to check whether the file had accidentally corrupted while transfer. If the CRC is same after the transfer, it means that the file had not accidentally corrupted.
Note: An intruder can corrupt a file in such a way that it produces the same CRC value after the transfer. That is why it is only checked for accidental corruption.
- –help : It displays help information.
- –version : It displays version information.