Linux common commands-98: md5sum

The md5sum command is used to generate and verify the md5 value of the file. It will check the contents of the file bit by bit, so it has nothing to do with the file name.

The full name of md5 is md5 Message-Digest Algorithm ( MD5 Message-Digest Algorithm , a widely used cryptographic hash function that can generate a 128-bit, 16-byte hash value, which is usually 32-bit 16 in actual use). Enter numbers, such as: 3caa3b23bada53f9e4e041d95dc8fa98, are mainly used to ensure the integrity and consistency of information transmission.

Syntax format: md5sum [parameter] [file]

Common parameters:

Example

 # 计算test.zip的md5 md5sum test.zip

This article is reprinted from https://xugaoxiang.com/2022/09/07/linux-cmds-98-md5sum/
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment