打印或校驗 MD5 (128 位) 校驗和。
基本語法
md5sum [OPTION]... [FILE]...
沒有 FILE,或者當 FILE 為 - 時,讀取標準輸入。
OPTION 選項
| 參數 | EN 解釋 | 中文翻譯 | 備注 |
|---|---|---|---|
| -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 | 警告關於不正確格式校驗和行 | |
| 功能 | 命令 | 文字解釋 | 示例 | 示例解釋 |
|---|---|---|---|---|
| 版本 | md5sum --version | 展示版本信息 | ||
| 幫助 | md5sum --help | 展示幫助信息 |
版權聲明: 本文為獨傢原創稿件,版權歸 樂數軟件 ,未經許可不得轉載。