The cksum command calculates a CRC checksum and file size. It is useful for simple integrity checks, especially when comparing whether two files are exactly the same.
Basic use
cksum filename.txtThe output includes the checksum, byte count and file name.
cksum file1.txt file2.txtFor download verification, prefer stronger checksums such as SHA-256 when available.