When you need to print CRC checksum and byte count for file in Linux use cksum command.
Sample usage:
$ cksum /home/taras/file.txt
1913889276 220 /home/taras/file.txt
Where:
– 1913889276 – CRC checksum;
– 220 – size in bytes;
– /home/taras/file.txt – file name.