Usage: md5sum [OPTION]... [FILE]...
Print or check MD5 (128-bit) checksums.
With no FILE, or when FILE is -, read standard input.
-b, --binary read in binary mode
-c, --check read MD5 sums from the FILEs and check them
-t, --text read in text mode (default)
Note: There is no difference between binary and text mode option on GNU system.
The following three options are useful only when verifying checksums:
--quiet don't print OK for each successfully verified file
--status don't output anything, status code shows success
-w, --warn warn about improperly formatted checksum lines
--help この使い方を表示して終了
--version バージョン情報を表示して終了
チェックサムは RFC 1321 に記されている通りに計算されます. 照合の際に入力
するファイルは, このプログラムによって出力された形式でなければなりません.
特にオプションを指定しないで実行した場合には, それぞれのファイル毎に
チェックサム, タイプに関する印(バイナリには `*', テキストには ` '),
及びファイル名を表示します.
Report md5sum bugs to bug-coreutils@gnu.org
GNU coreutils home page:
Usage: md5sum [OPTION]... [FILE]...
Print or check MD5 (128-bit) checksums.
With no FILE, or when FILE is -, read standard input.
-b, --binary read in binary mode
-c, --check read MD5 sums from the FILEs and check them
-t, --text read in text mode (default)
Note: There is no difference between binary and text mode option on GNU system.
The following three options are useful only when verifying checksums:
--quiet don't print OK for each successfully verified file
--status don't output anything, status code shows success
-w, --warn warn about improperly formatted checksum lines
--help display this help and exit
--version output version information and exit
The sums are computed as described in RFC 1321. When checking, the input
should be a former output of this program. The default mode is to print
a line with checksum, a character indicating type (`*' for binary, ` ' for
text), and name for each FILE.
Report md5sum bugs to bug-coreutils@gnu.org
GNU coreutils home page:
MD5SUM(1) MD5SUM(1)
名前
md5sum - MD5 ハッシュチェックサムを計算・チェックする
書式
md5sum [-bctw] [--binary] [--check] [--status] [--text] [--warn]
[FILE...]
md5sum [--help] [--version]
説明
md5sum は 128 ビットのチェックサム (「指紋 (fingerprint)」「メッセー ジ
ダ イジェスト」と呼ばれることもある) を FILE 各々に対して計算して表示す
る。 FILE が一つも与えられないと標準入力から読み込む。また FILE が ‘-’
だった場合には、そのファイルには標準入力が用いられる。
チ ェ ッ クサムを計算したときの各入力 FILE に対する出力フォーマットは、
MD5 sum 値・スペース・ファイルタイプを示す文字 (バイナリなら ‘*’、テ キ
ス トなら ‘ ’)・ファイル名、からなる。 --check は入力がこのフォーマット
であるものとみなす。
オプション
-b, --binary
各入力ファイル FILE を場異なるモードで読み込む。 Unix システムで
はバイナリファイルとテキストファイルの区別がないので、このオプシ
ョンは何の効果も無い。これは DOS プラットフォームではデフォル ト
になっている。
-c, --check
指定された FILE それぞれからファイル名とチェックサムのペアを読み
込み、各ファイルに対応するチェックサムが正しいかどうかを報告する
。 --check は入力に md5sum 自身の出力と同じフォーマットを期待す
る。
例えば:
md5sum *.txt > checksums.md5
md5sum --check checksums.md5
--text すべての入力ファイルをテキストファイルとして扱う。
-w, --warn
チェックサムを調べるとき、正しくない書式の MD5 チェックサム行 に
対して警告を発する。このオプションは、チェック入力の一部だけが有
効なような、特殊な場合以外はあまり役に立たない。
--status
状態を示すリターンコードのみを返し、黙って終了する。警告やチェッ
クサムの間違いは出力されないが、ファイルがオープンできない、読み
込めない等の動作エラーは出力する。成功した場合の終了コード は 0
で、これはすべてがパスし、エラーが全くなかった場合にのみ返される
。それ以外の場合は 0 以外の値が返される。
--help 標準出力に使用方法のメッセージを出力して正常終了する。
--version
標準出力にバージョン情報を出力して正常終了する。
注意
プログラムのバグについては bug-textutils@gnu.org に報告してください。
man ページは Ragnar Hojland Espinosa
MD5SUM(1) User Commands MD5SUM(1)
NAME
md5sum - compute and check MD5 message digest
SYNOPSIS
md5sum [OPTION]... [FILE]...
DESCRIPTION
Print or check MD5 (128-bit) checksums. With no FILE, or when FILE is
-, read standard input.
-b, --binary
read in binary mode
-c, --check
read MD5 sums from the FILEs and check them
-t, --text
read in text mode (default)
Note: There is no difference between binary and text mode option
on GNU system.
The following three options are useful only when verifying checksums:
--quiet
don’t print OK for each successfully verified file
--status
don’t output anything, status code shows success
-w, --warn
warn about improperly formatted checksum lines
--help display this help and exit
--version
output version information and exit
The sums are computed as described in RFC 1321. When checking, the
input should be a former output of this program. The default mode is
to print a line with checksum, a character indicating type (‘*’ for
binary, ‘ ’ for text), and name for each FILE.
AUTHOR
Written by Ulrich Drepper, Scott Miller, and David Madore.
REPORTING BUGS
Report md5sum bugs to bug-coreutils@gnu.org
GNU coreutils home page:
コロナウイルスの日ごとの感染者数・死者数をグラフ化してみました。どの国が増加傾向にあり、どの国が終息に向かっているかを視覚化しています。
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa