{"id":4106,"date":"2019-07-27T12:43:48","date_gmt":"2019-07-27T04:43:48","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=4106"},"modified":"2019-07-27T12:43:50","modified_gmt":"2019-07-27T04:43:50","slug":"bzcat","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/bzcat","title":{"rendered":"bzcat\u547d\u4ee4 – \u8bfb\u53d6bzip2\u538b\u7f29\u6587\u4ef6\u7684\u5185\u5bb9"},"content":{"rendered":"\n
\u76f8\u6bd4\u8f83\u4e8egzip\uff0cbzip2\u6709\u66f4\u597d\u7684\u538b\u7f29\u6bd4\uff0cbzcat\u5219\u662f\u67e5\u770bbzip2\u538b\u7f29\u6587\u4ef6\u540e\u7684\u5185\u5bb9\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>bzcat [\u547d\u4ee4]<\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u521b\u5efabzip2\u6587\u4ef6\uff1a<\/p>\n\n\n\n \u663e\u793atest.txt.bz2\u89e3\u538b\u7f29\u4e4b\u540e\u7684\u6587\u4ef6\u5185\u5bb9\uff1a<\/p>\n\n\n\n \u76f8\u6bd4\u8f83\u4e8egzip\uff0cbzip2\u6709\u66f4\u597d\u7684\u538b\u7f29\u6bd4\uff0cbzcat\u5219\u662f\u67e5\u770bbzip2\u538b\u7f29\u6587\u4ef6\u540e\u7684\u5185\u5bb9\u3002 \u8bed\u6cd5\u683c\u5f0f\uff1abzca […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4106"}],"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=4106"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4106\/revisions"}],"predecessor-version":[{"id":4408,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4106\/revisions\/4408"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=4106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=4106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=4106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}[root@linuxcool ~]# bzip2 -z test.txt \n[root@linuxcool ~]# ls\ntest.txt.bz2 <\/pre>\n\n\n\n
[root@linuxcool ~]# bzcat test.txt.bz2 \n a b c d\n e f g h\n i j k l<\/pre>\n","protected":false},"excerpt":{"rendered":"