Calculate MD5 in Ubuntu

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.