1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 17:42:07 +02:00
tldr/pages.zh/common/md5sum.md
2021-09-03 21:36:19 +02:00

374 B

md5sum

计算 MD5 加密校验和。 更多信息:https://www.gnu.org/software/coreutils/md5sum.

  • 计算文件的 MD5 校验和:

md5sum {{path/to/file}}

  • 计算多个文件的 MD5 校验和:

md5sum {{path/to/file1}} {{path/to/file2}}

  • 读取 MD5SUM 的文件并验证所有文件是否具有匹配的校验和:

md5sum -c {{path/to/file.md5}}