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.


cksum [FileName]

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.


  1. –help : It displays help information.

  2. –version : It displays version information.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

