{"id":373,"date":"2019-04-27T12:07:01","date_gmt":"2019-04-27T04:07:01","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=373"},"modified":"2020-05-07T14:44:23","modified_gmt":"2020-05-07T06:44:23","slug":"md5sum","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/md5sum","title":{"rendered":"md5sum\u547d\u4ee4 – \u6821\u9a8c\u6587\u4ef6"},"content":{"rendered":"\n

md5sum\u547d\u4ee4\u7528\u4e8e\u751f\u6210\u548c\u6821\u9a8c\u6587\u4ef6\u7684md5\u503c\u3002\u5b83\u4f1a\u9010\u4f4d\u5bf9\u6587\u4ef6\u7684\u5185\u5bb9\u8fdb\u884c\u6821\u9a8c\u3002\u662f\u6587\u4ef6\u7684\u5185\u5bb9\uff0c\u4e0e\u6587\u4ef6\u540d\u65e0\u5173\uff0c\u4e5f\u5c31\u662f\u6587\u4ef6\u5185\u5bb9\u76f8\u540c\uff0c\u5176md5\u503c\u76f8\u540c\u3002<\/p>\n\n\n\n

md5\u503c\u662f\u4e00\u4e2a128\u4f4d\u7684\u4e8c\u8fdb\u5236\u6570\u636e\uff0c\u8f6c\u6362\u621016\u8fdb\u5236\u5219\u662f32\uff08128\/4\uff09\u4f4d\u7684\u8fdb\u5236\u503c\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>md5sum [\u53c2\u6570] [\u6587\u4ef6]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a\ufeff<\/strong><\/p>\n\n\n\n

-b<\/td>\u4ee5\u4e8c\u8fdb\u5236\u6a21\u5f0f\u8bfb\u53d6\u6587\u4ef6<\/td><\/tr>
-t <\/td>\u4ee5\u6587\u672c\u6a21\u5f0f\u8bfb\u5165\u6587\u4ef6\u5185\u5bb9<\/td><\/tr>
-c <\/td>\u6839\u636e\u5df2\u751f\u6210\u7684md5\u503c\uff0c\u5bf9\u73b0\u5b58\u6587\u4ef6\u8fdb\u884c\u6821\u9a8c <\/td><\/tr>
-w<\/td>\u68c0\u67e5\u8f93\u5165\u7684md5\u4fe1\u606f\u6709\u6ca1\u6709\u975e\u6cd5\u884c\uff0c\u82e5\u6709\u5219\u8f93\u51fa\u76f8\u5e94\u4fe1\u606f<\/td><\/tr>
--status <\/td>\u6821\u9a8c\u5b8c\u6210\u540e\uff0c\u4e0d\u751f\u6210\u9519\u8bef\u6216\u6b63\u786e\u7684\u63d0\u793a\u4fe1\u606f\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u7684\u8fd4\u56de\u503c\u6765\u5224\u65ad <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u751f\u6210\u6587\u4ef6md5\u503c\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# md5sum file  <\/pre>\n\n\n\n

\u6587\u4ef6\u5185\u5bb9\u6821\u9a8c\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# md5sum -c d.md5 <\/pre>\n\n\n\n

\u6821\u9a8c\u6587\u4ef6\u540e\u7ed9\u51fa\u4fe1\u606f\u63d0\u793a\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# md5sum file --status<\/pre>\n","protected":false},"excerpt":{"rendered":"

md5sum\u547d\u4ee4\u7528\u4e8e\u751f\u6210\u548c\u6821\u9a8c\u6587\u4ef6\u7684md5\u503c\u3002\u5b83\u4f1a\u9010\u4f4d\u5bf9\u6587\u4ef6\u7684\u5185\u5bb9\u8fdb\u884c\u6821\u9a8c\u3002\u662f\u6587\u4ef6\u7684\u5185\u5bb9\uff0c\u4e0e\u6587\u4ef6\u540d\u65e0\u5173\uff0c\u4e5f\u5c31\u662f […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/373"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=373"}],"version-history":[{"count":6,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/373\/revisions"}],"predecessor-version":[{"id":7607,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/373\/revisions\/7607"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}