md5sum 命令详解


打印或校验 MD5 (128 位) 校验和。

另请参阅:    

Basic Usage     Detailed Usage

 
			

基本语法

md5sum [OPTION]... [FILE]...
			

没有 FILE,或者当 FILE 为 - 时,读取标准输入。

OPTION 选项

参数 EN 解释 中文翻译 Remark
-b, --binary read in binary mode 以二进制模式读取
-c, --check read MD5 sums from the FILEs and check them 从 FILE 读取 MD5 和并校验它们
--tag create a BSD-style checksum 创建 BSD 样式校验和
-t, --text read in text mode (default) 以文本模式读取 (默认)
--help display this help and exit 显示此帮助并退出
--version output version information and exit 输出版本信息并退出
以下 5 个选项仅当验证校验和时才有用:
--ignore-missing don't fail or report status for missing files 不失败或报告状态当缺失文件时
--quiet don't print OK for each successfully verified file 不为每个成功验证文件打印 OK
--status don't output anything, status code shows success 什么都不输出,状态码展示成功
--strict exit non-zero for improperly formatted checksum lines 以非 0 退出对于不正确格式校验和行
-w, --warn warn about improperly formatted checksum lines 警告关于不正确格式校验和行

Basic Usage

Function 命令 文字解释 示例 示例解释
Version md5sum --version 展示版本信息
帮助 md5sum --help 展示帮助信息

 

Copyright Notice: This article is an exclusive original manuscript, copyright belongs to Happy Digits Software , shall not be reproduced without permission.