Md5sum in Linux

Source: Internet
Author: User

Reprinted: http://baike.baidu.com/view/1919192.htm

In Linux, shell commands are used to make MD5 codes for MD5 verification of software. AlgorithmIt is often used to verify the integrity of network file transmission and prevent file tampering. MD5
The full name is the message digest algorithm (Message-Digest algorithm 5), which computes information of any length by bit, generate a "fingerprint" (or "Message Digest") with a binary length of 128 bits (32 bits in hexadecimal format "), different files may generate the same message digest. In Linux or UNIX, md5sum is a tool used to calculate and verify the file message digest. Program. Generally, after Linux is installed, the md5sum tool runs directly on the command line terminal. 1. Run the following command to generate a fingerprint (Message Digest) using md5sum filename:
> Filename. MD5 or md5sum FILENAME> filename. MD5 can also output the packet digest of multiple files to an MD5 file, which uses the wildcard *. For example, there are several ISO files in a directory, output the abstract of these ISO files to ISO. in the MD5 file, the command is as follows: md5sum *. ISO> ISO. MD5 2. Use the MD5 message digest to verify the file. There are two methods: Put the downloaded file and the file of the file. the MD5 packet digest file is placed in the same directory and then verified using the following command:
Md5sum-C file. MD5. If the verification is successful, the md5sum software is also available in win.

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.