checksum

Anyone can tell me the different between "cksum" and "sum" command on Solaris? I read the man pages but still not get it.

And how to display the md5 checksum for a file.

Thanks,

In terms of general usage, they all do pretty much the same. they compute a checksum for a file, allow to compare checksums, and can tell whether 2 files are the same or not. The only difference is the algorithm used. To the best of my knowledge, sum and chksum use pretty general algorithms, while md5sum and sha1sum/sha256sum use cryptographically secure algorithms.