paperlined.org
rosetta_stone > os
document updated 11 years ago, on Dec 15, 2013
How to do a checksum across different OS's.

Commands on the same line should produce results that are comparable to each other. This allows you to transfer a file from one machine to another, and confirm that the file has the same contents on both the sender and receiver.

Linux Solaris AIX HP-UX Windows any Unix
md5sum filename digest -a md5 -v filename csum -h MD5 filename md5sum filename fciv filename perl -MDigest::MD5 -le 'open$fh,shift;print Digest::MD5->new->addfile($fh)->hexdigest' filename