to be
a problem slover

simple bash script to check sha256sum

if [[ $(sha256sum /file/to/check | awk '{print $1}') = "58f17545056267f57a2d95f4c9c00ac1d689a580e220c5d4de96570fbbc832e1" ]]; then echo "OK"; else echo "MISMATCHED"; fi;
赞(2) 打赏
欢迎转载,注明出处:刘世明的博客 » simple bash script to check sha256sum

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下作者

支付宝扫一扫打赏

微信扫一扫打赏