{"id":16946,"date":"2023-12-30T20:08:57","date_gmt":"2023-12-30T12:08:57","guid":{"rendered":"https:\/\/www.linuxcool.com\/ljymlysdffjj"},"modified":"2023-12-30T20:08:57","modified_gmt":"2023-12-30T12:08:57","slug":"ljymlysdffjj","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/ljymlysdffjj","title":{"rendered":"linux tarbz2 \u89e3\u538b\u547d\u4ee4 \u538b\u7f29\u7684\u65b9\u6cd5\u53ca\u89e3\u51b3\u529e\u6cd5\uff01\uff01"},"content":{"rendered":"<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u4e00\u3001\u538b\u7f29\u6982\u5ff5<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>1\u3001\u538b\u7f29\uff1a\u6307\u901a\u8fc7\u4e2a\u522b\u7b97\u6cd5<strong>linux tarbz2 \u89e3\u538b<a style='color:#0000CC;font-size:16px' href='https:\/\/www.linuxcool.com\/' target='_blank' rel=\"noopener\">\u547d\u4ee4<\/a><\/strong>\uff0c\u5c06\u6587\u4ef6\u89c4\u683c\u8fdb\u884c\u76f8\u5e94\u7684\u7f29\u5c0f\uff0c\u4f46\u662f\u540c\u65f6\u53c8\u4e0d\u635f\u5931\u6587\u4ef6\u7684\u5185\u5bb9\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u4e8c\u3001gzip\u547d\u4ee4(\u8fdb\u884c\u538b\u7f29\u4e0e\u89e3\u538b)<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>1\u3001\u547d\u4ee4\u4f5c\u7528<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u53ef\u4ee5\u89e3\u5f00compress\u3001zip\u4e0egzip\u7b49\u8f6f\u4ef6\u6240\u538b\u7f29\u7684\u6587\u4ef6\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>2\u3001\u9009\u9879\u53c2\u6570<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-c\uff1a\uff08compress\uff09\u5c06\u538b\u7f29\u7684\u6570\u636e\u8f93\u51fa\u5230\u6807\u51c6\u8f93\u51fa\uff08stdout\uff09\u4e0a<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-d\uff1a\uff08decompress\uff09\u89e3\u538b\u7f29<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:500px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2023\/12\/1703938136379_0.jpg' alt='\u89e3\u538b\u547d\u4ee4tar_linux tarbz2 \u89e3\u538b\u547d\u4ee4_\u89e3\u538b\u547d\u4ee4gz' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-t\uff1a\uff08test\uff09\u53ef\u4ee5\u62ff\u6765\u68c0\u9a8c\u4e00\u4e2a\u538b\u7f29\u6587\u4ef6\u7684\u4e00\u81f4\u6027\uff0c\u77a7\u77a7\u6587\u4ef6\u6709\u65e0\u9519\u8bef<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-v\uff1a\uff08verbose\uff09\u53ef\u4ee5\u663e\u793a\u51fa\u539f\u6587\u4ef6\/\u538b\u7f29\u6587\u4ef6\u7684\u538b\u7f29\u6bd4\u7b49\u4fe1\u606f<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-(1,2,&#8230;,9)\uff1a\u538b\u7f29\u7b49\u7ea7\uff0c1\u6700\u5feb\uff0c\u800c\u4e14\u538b\u7f29\u6bd4\u6700\u5dee\uff1b9\u6700\u6162\uff0c\u800c\u4e14\u538b\u7f29\u6bd4\u6700\u597d<strong>linux tarbz2 \u89e3\u538b\u547d\u4ee4<\/strong>\uff0c\u9ed8\u8ba4\u662f6\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-l\uff1a\uff08list\uff09\u67e5\u770b\u538b\u7f29\u6587\u4ef6\u7684\u538b\u7f29\u6bd4\uff1agzip\u2013l*.gz<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>3\u3001\u7ec3\u4e60<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u7ec3\u4e601\u3001\u5728\/tmp\u76ee\u5f55\u91cc\u521b\u5efademo\u76ee\u5f55\uff0c\u5c06\/root\u76ee\u5f55\u91cc\u7684install.log\u62f7\u8d1d\u5230\u8be5\u76ee\u5f55\uff0c\u6b65\u5165\u8be5\u76ee\u5f55\uff0c\u538b\u7f29\uff0c\u89e3\u538b\u7f29\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u538b\u7f29install.log\u6587\u4ef6<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\n<pre class=\"has\"><code>[root@ied01 demo]# gzip -v install.log<\/code><\/pre>\n<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u89e3\u538binstall.log.gz\u538b\u7f29\u5305<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\n<pre class=\"has\"><code>[root@ied01 demo]# gzip -d install.log.gz<\/code><\/pre>\n<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u538b\u7f29\u4ee5\u540e\uff0c\u539f\u6587\u4ef6\u5220\u6389\uff0c\u53ea\u6709\u538b\u7f29\u6587\u4ef6\uff1b<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u89e3\u538b\u7f29\u4ee5\u540e\uff0c\u538b\u7f29\u6587\u4ef6\u5220\u6389\uff0c\u751f\u6210\u539f\u6587\u4ef6\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u6ce8\u610f\uff1a\u538b\u7f29\u6bd4\u8d8a\u5927\uff0c\u538b\u7f29\u901f\u7387\u8d8a\u6162\uff0c\u4f46\u538b\u7f29\u540e\u7684\u6587\u4ef6\u8d8a\u5c0f\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u7ec3\u4e602\u3001\u5229\u7528\u4e0d\u540c\u7684\u538b\u7f29\u7b49\u7ea7\u6765\u538b\u7f29\u6587\u4ef6install.log<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u538b\u7f29\u7b49\u7ea7-\u6570\u5b57(1\u52309)<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:500px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2023\/12\/1703938136379_1.jpg' alt='linux tarbz2 \u89e3\u538b\u547d\u4ee4_\u89e3\u538b\u547d\u4ee4tar_\u89e3\u538b\u547d\u4ee4gz' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\n<pre class=\"has\"><code>[root@ied01 demo]# gzip -v -1 install.log\n<\/code><\/pre>\n<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u7ec3\u4e603\u3001\u538b\u7f29\u7684install.log\u6587\u4ef6\u540e\u8981\u4fdd\u7559\u539f\u6587\u4ef6<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5148\u628a\u7ec3\u4e602\u4e2d\u538b\u7f29\u7684install.log.gz\u6587\u4ef6\u89e3\u538b<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u4e4b\u540e\u7528\u4ee5\u4e0b\u547d\u4ee4\u538b\u7f29<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\n<pre class=\"has\"><code>[root@ied01 demo]# gzip -cv install.log &gt; install.log.gz\n<\/code><\/pre>\n<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u4e09\u3001bzip2\u547d\u4ee4(\u8fdb\u884c\u538b\u7f29\u4e0e\u89e3\u538b)<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>1\u3001\u547d\u4ee4\u4f5c\u7528<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>gzip\u662f\u4e3a\u4e86\u66ff\u4ee3compress\u5e76\u63d0\u4f9b\u66f4\u597d\u7684\u538b\u7f29\u6bd4\uff0c\u8fd9\u4e48bzip2\u5219\u662f\u4e3a\u4e86\u66ff\u4ee3gzip\u5e76\u63d0\u4f9b\u66f4\u4f73\u7684\u538b\u7f29\u6bd4\u800c\u81f3\u7684\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>2\u3001\u9009\u9879\u53c2\u6570<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-c\uff1a\u5c06\u538b\u7f29\u7684\u8fc7\u7a0b\u5f62\u6210\u7684\u6570\u636e\u8f93\u51fa\u5230\u6807\u51c6\u8f93\u51fa\uff08stdout\uff09<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-d\uff1a\u89e3\u538b\u7f29<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-k\uff1a\uff08keep\uff09\u4fdd\u7559\u6e90\u6587\u4ef6\u5982\u4f55\u5b89\u88c5LINUX\uff0c\u800c\u4e0d\u4f1a\u5220\u6389\u539f\u59cb\u7684\u6587\u4ef6<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-z\uff1a\u538b\u7f29<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-v\uff1a\u53ef\u4ee5\u663e\u793a\u51fa\u539f\u6587\u4ef6\/\u538b\u7f29\u6587\u4ef6\u6848\u7684\u538b\u7f29\u6bd4\u7b49\u4fe1\u606f<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:500px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2023\/12\/1703938136379_3.png' alt='\u89e3\u538b\u547d\u4ee4gz_linux tarbz2 \u89e3\u538b\u547d\u4ee4_\u89e3\u538b\u547d\u4ee4tar' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-(1,2,&#8230;,9)\uff1a\u4e0egzip\u540c\u6837\u7684\uff0c\u90fd\u662f\u5728\u4f30\u7b97\u538b\u7f29\u6bd4\u7684\u53c2\u6570redhat linux 9.0\u4e0b\u8f7d\uff0c-9\u6700\u4f73\uff0c-1\u6700\u5feb<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>3\u3001\u7ec3\u4e60<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u7ec3\u4e601\u3001\u5220\u9664demo\u91cc\u7684\u6240\u6709\u6587\u4ef6\uff0c\u5c06\/root\u76ee\u5f55\u91cc\u7684install.log\u62f7\u8d1d\u5230demo\u91cc\uff0c\u91c7\u7528bzip2\u547d\u4ee4\u6765\u8fdb\u884c\u538b\u7f29\uff0c\u8981\u6c42\u663e\u793a\u538b\u7f29\u6bd4\u4fe1\u606f\u3002\u4e4b\u540e\u518d\u89e3\u538b\u7f29\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5047\u5982\u8981\u4fdd\u7559\u539f\u6587\u4ef6\uff0c\u987b\u8981\u52a0\u53c2\u6570-k\uff1a<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u8bf4\u660e\uff1a\u53c2\u6570-1\uff0c\u2026\u2026\uff0c-9\u5bf9\u4e8ebzip2\u547d\u4ee4\u7684\u6267\u884c\u6ca1\u6709\u5f71\u54cd\uff0c\u90fd\u662f\u4e00\u6837\u7684\u538b\u7f29\u6bd4\uff0c\u6bd4gzip\u5bf9\u6587\u4ef6\u7684\u538b\u7f29\u6bd4\u9ad8\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u6ce8\u610f\uff1azcat\u53ea\u80fd\u67e5\u770bgzip\u538b\u7f29\u683c\u5f0f\u7684\u6587\u4ef6\uff0c\u4e0d\u80fd\u67e5\u770bbzip2\u538b\u7f29\u683c\u5f0f\u7684\u6587\u4ef6\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u6ce8\u610f\uff1a\u4e24\u4e2a\u538b\u7f29\u547d\u4ee4\u90fd\u4e0d\u80fd\u538b\u7f29\u6587\u4ef6\u5939\uff0c\u538b\u7f29\u6587\u4ef6\u5939\u8be5\u7528tar\u547d\u4ee4\uff0c\u5148\u628a\u6587\u4ef6\u5939\u6253\u5305\uff0c\u4e4b\u540e\u518d\u7528gzip\u6216bzip2\u538b\u7f29\uff0c\u5f97\u5230\u7684\u538b\u7f29\u6587\u4ef6\u5c31\u662f*.tar.gz\u6216*.tar.bz2\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e8c\u3001gzip\u547d\u4ee4(\u8fdb\u884c\u538b\u7f29\u4e0e\u89e3\u538b)\u7ec3\u4e602\u3001\u5229\u7528\u4e0d\u540c\u7684\u538b\u7f29\u7b49\u7ea7\u6765\u538b\u7f29\u6587\u4ef6install.log\u4e09\u3001bzip2\u547d\u4ee4(\u8fdb\u884c\u538b\u7f29\u4e0e\u89e3\u538b)\u3001\u5220\u9664demo\u91cc\u7684\u6240\u6709\u6587\u4ef6\uff0c\u5c06\/root\u76ee\u5f55\u91cc\u7684install.log\u62f7\u8d1d\u5230demo\u91cc\uff0c\u91c7\u7528bzip2\u547d\u4ee4\u6765\u8fdb\u884c\u538b\u7f29\uff0c\u8981\u6c42\u663e\u793a\u538b\u7f29\u6bd4\u4fe1\u606f\u3002<\/p>\n","protected":false},"author":1,"featured_media":16947,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[103,134,194,288],"class_list":["post-16946","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge","tag-g","tag-lyswjj","tag-jy","tag-jyrj"],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/16946","targetHints":{"allow":["GET"]}}],"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=16946"}],"version-history":[{"count":0,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/16946\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media\/16947"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=16946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=16946"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=16946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}