From: http://yaodh.blog.51cto.com/1462667/329748
Md5sum is installed in Ubuntu by default.
Usage: md5sum file name
Usage: md5sum [Option]... [file]...
Displays or checks the MD5 (128-bit) checksum.
If there is no file option, or the file is "-", it is read from the standard input.
-B, -- binary reads data in binary mode
-C, -- check read MD5 sums from the files and check them
-T, -- text read in text mode (default)
The following three options are useful only when verifying checksums:
-- Quiet don't print OK for each successfully verified File
-- Status don't output anything, status code shows success
-W, -- Warn warn about improperly formatted checksum lines
-- Help: displays the help information and exits.
-- Version: Output version information and exit
The sums are computed as described in RFC 1321. When checking, the input
Shocould be a former output of this program. The default mode is to print
A line with checksum, a character indicating type ('*' for binary,''
Text), and name for each file.
Please report md5sum errors to bug-coreutils@gnu.org
GNU coreutils home page:
General help using GNU software:
Report md5sum translation bugs to