0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

[Linux][command] テキスト処理_その他_xargs, md5sum

Posted at

xargsコマンド

$ xargs [オプション] [コマンド [初期引数...]]
オプション 由来 説明
default execute arguments - 標準入力から読み取ったデータを引数として指定したコマンドを実行

使用例

  • file.txt内の各行がtouchコマンドの引数として渡し、それぞれの名前を持つファイルを作成する
$ cat file.txt | xargs touch

ファイルをハッシュ値にするコマンド

コマンド 説明
md5sum MD5(ハッシュ関数)によるハッシュ値の出力
sha1sum SHA1(ハッシュ関数)によるハッシュ値の出力
sha256sum SHA256(ハッシュ関数)によるハッシュ値の出力
sha512sum SHA512(ハッシュ関数)によるハッシュ値の出力

Ping-t

xargs

ファイルをハッシュ値にするコマンド

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?