sum

Compute checksums and the number of blocks for a file. A predecessor to the more modern cksum. More information: https://www.gnu.org/software/coreutils/sum.

sum path/to/file

sum --sysv path/to/file