{"id":7060,"date":"2020-08-28T13:32:56","date_gmt":"2020-08-28T05:32:56","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7060"},"modified":"2020-08-28T13:32:56","modified_gmt":"2020-08-28T05:32:56","slug":"xxd","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/xxd","title":{"rendered":"xxd\u547d\u4ee4 – \u4ee5\u5341\u516d\u8fdb\u5236\u5f62\u5f0f\u8868\u793a"},"content":{"rendered":"\n
xxd\u7684\u4f5c\u7528\u5c31\u662f\u5c06\u4e00\u4e2a\u6587\u4ef6\u4ee5\u5341\u516d\u8fdb\u5236\u7684\u5f62\u5f0f\u663e\u793a\u51fa\u6765\u3002\u5b83\u8fd8\u53ef\u4ee5\u5c06\u5341\u516d\u8fdb\u5236\u8f6c\u50a8\u8f6c\u6362\u56de\u5176\u539f\u59cb\u4e8c\u8fdb\u5236\u5f62\u5f0f\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>xxd [\u53c2\u6570]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u4f7f\u7528-a\u53c2\u6570\uff0c\u81ea\u52a8\u8df3\u8fc7\u7a7a\u767d\uff0c\u4ece0x200\u5f00\u59cb\uff0c\u8f93\u5165\u6587\u4ef6:<\/p>\n\n\n\n \u4f7f\u7528-a\u3001-c\u53c2\u6570\uff0c\u81ea\u52a8\u8df3\u8fc7\u7a7a\u767d\uff0c\u6bcf\u884c\u663e\u793a12\u5b57\u8282\uff0c\u4ece0x200\u5f00\u59cb\uff0c\u8f93\u5165\u6587\u4ef6:<\/p>\n\n\n\n \u4f7f\u7528-a\u3001-c\u3001-g\u53c2\u6570\uff0c\u81ea\u52a8\u8df3\u8fc7\u7a7a\u767d\uff0c\u6bcf\u884c\u663e\u793a12\u5b57\u8282\uff0c\u4e00\u4e2a\u5b57\u8282\u4e00\u5757\uff0c\u663e\u793a512\u5b57\u8282\u5185\u5bb9\uff0c\u4ece0x200\u5f00\u59cb\uff0c\u8f93\u5165\u6587\u4ef6:<\/p>\n\n\n\n xxd\u7684\u4f5c\u7528\u5c31\u662f\u5c06\u4e00\u4e2a\u6587\u4ef6\u4ee5\u5341\u516d\u8fdb\u5236\u7684\u5f62\u5f0f\u663e\u793a\u51fa\u6765\u3002\u5b83\u8fd8\u53ef\u4ee5\u5c06\u5341\u516d\u8fdb\u5236\u8f6c\u50a8\u8f6c\u6362\u56de\u5176\u539f\u59cb\u4e8c\u8fdb\u5236\u5f62\u5f0f\u3002 \u8bed\u6cd5\u683c\u5f0f\uff1a […]<\/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\/7060"}],"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=7060"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7060\/revisions"}],"predecessor-version":[{"id":7181,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7060\/revisions\/7181"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7060"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7060"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7060"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-a<\/td> \u5b83\u7684\u4f5c\u7528\u662f\u81ea\u52a8\u8df3\u8fc7\u7a7a\u767d\u5185\u5bb9\uff0c\u9ed8\u8ba4\u662f\u5173\u95ed\u7684<\/td><\/tr> -c<\/td> \u5b83\u7684\u540e\u9762\u52a0\u4e0a\u6570\u5b57\u8868\u793a\u6bcf\u884c\u663e\u793a\u591a\u5c11\u5b57\u8282\u7684\u5341\u516d\u8fdb\u5236\u6570\uff0c\u9ed8\u8ba4\u662f16\u5b57\u8282<\/td><\/tr> -g<\/td> \u8bbe\u5b9a\u4ee5\u51e0\u4e2a\u5b57\u8282\u4e3a\u4e00\u5757\uff0c\u9ed8\u8ba4\u4e3a2\u5b57\u8282<\/td><\/tr> -l<\/td> \u663e\u793a\u591a\u5c11\u5b57\u8282\u7684\u5185\u5bb9<\/td><\/tr> -s<\/td> \u540e\u9762\u63a5\u3010+-\u3011\u548caddress.\u52a0\u53f7\u8868\u793a\u4ece\u5730\u5740\u5904\u5f00\u59cb\u7684\u5185\u5bb9\uff0c\u51cf\u53f7\u8868\u793a\u8ddd\u672b\u5c3eaddress\u5f00\u59cb\u7684\u5185\u5bb9<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# xxd -a -s +0x200 linuxcool.txt<\/pre>\n\n\n\n
[root@linuxcool ~]# xxd -a -c 12 -s +0x200 linuxcool.txt<\/pre>\n\n\n\n
[root@linuxcool ~]# xxd -a -c 12 -g 1 -l 512 -s +0x200 linuxcool.txt<\/pre>\n","protected":false},"excerpt":{"rendered":"