{"id":3614,"date":"2019-06-29T10:18:46","date_gmt":"2019-06-29T02:18:46","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3614"},"modified":"2022-05-09T18:48:26","modified_gmt":"2022-05-09T10:48:26","slug":"gunzip","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/gunzip","title":{"rendered":"gunzip\u547d\u4ee4 – \u89e3\u538b\u63d0\u53d6\u6587\u4ef6\u5185\u5bb9"},"content":{"rendered":"\n

gunzip\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201dGnu unzip\u201c\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u89e3\u538b\u63d0\u53d6\u6587\u4ef6\u5185\u5bb9\u3002gunzip\u901a\u5e38\u88ab\u7528\u6765\u89e3\u538b\u90a3\u4e9b\u88ab\u57fa\u4e8egzip\u683c\u5f0f\u538b\u7f29\u8fc7\u7684\u6587\u4ef6\uff0c\u4e5f\u5c31\u662f\u90a3\u4e9b.gz\u7ed3\u5c3e\u7684\u538b\u7f29\u5305\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>gunzip [\u53c2\u6570] \u538b\u7f29\u5305<\/p>\n\n\n\n

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

-a<\/td>\u4f7f\u7528ASCII\u6587\u5b57\u6a21\u5f0f <\/td><\/tr>
-c<\/td>\u628a\u89e3\u538b\u540e\u7684\u6587\u4ef6\u8f93\u51fa\u5230\u6807\u51c6\u8f93\u51fa\u8bbe\u5907 <\/td><\/tr>
-f<\/td>\u5f3a\u884c\u89e3\u5f00\u538b\u7f29\u6587\u4ef6\uff0c\u4e0d\u7406\u4f1a\u6587\u4ef6\u540d\u79f0\u6216\u786c\u8fde\u63a5\u662f\u5426\u5b58\u5728\u4ee5\u53ca\u8be5\u6587\u4ef6\u662f\u5426\u4e3a\u7b26\u53f7\u8fde\u63a5 <\/td><\/tr>
-h<\/td>\u5728\u7ebf\u5e2e\u52a9<\/td><\/tr>
-l<\/td>\u5217\u51fa\u538b\u7f29\u6587\u4ef6\u7684\u76f8\u5173\u4fe1\u606f <\/td><\/tr>
-L<\/td>\u663e\u793a\u7248\u672c\u4e0e\u7248\u6743\u4fe1\u606f <\/td><\/tr>
-n<\/td>\u89e3\u538b\u7f29\u65f6\uff0c\u82e5\u538b\u7f29\u6587\u4ef6\u5185\u542b\u6709\u8fdc\u6765\u7684\u6587\u4ef6\u540d\u79f0\u53ca\u65f6\u95f4\u6233\u8bb0\uff0c\u5219\u5c06\u5176\u5ffd\u7565\u4e0d\u4e88\u5904\u7406 <\/td><\/tr>
-N<\/td>\u89e3\u538b\u7f29\u65f6\uff0c\u82e5\u538b\u7f29\u6587\u4ef6\u5185\u542b\u6709\u539f\u6765\u7684\u6587\u4ef6\u540d\u79f0\u53ca\u65f6\u95f4\u6233\u8bb0\uff0c\u5219\u5c06\u5176\u56de\u5b58\u5230\u89e3\u5f00\u7684\u6587\u4ef6\u4e0a <\/td><\/tr>
-q<\/td>\u4e0d\u663e\u793a\u8b66\u544a\u4fe1\u606f <\/td><\/tr>
-r<\/td>\u9012\u5f52\u5904\u7406\uff0c\u5c06\u6307\u5b9a\u76ee\u5f55\u4e0b\u7684\u6240\u6709\u6587\u4ef6\u53ca\u5b50\u76ee\u5f55\u4e00\u5e76\u5904\u7406 <\/td><\/tr>
-S<\u538b\u7f29\u5b57\u5c3e\u5b57\u7b26\u4e32><\/td>\u66f4\u6539\u538b\u7f29\u5b57\u5c3e\u5b57\u7b26\u4e32<\/td><\/tr>
-t<\/td>\u6d4b\u8bd5\u538b\u7f29\u6587\u4ef6\u662f\u5426\u6b63\u786e\u65e0\u8bef<\/td><\/tr>
-v<\/td>\u663e\u793a\u6307\u4ee4\u6267\u884c\u8fc7\u7a0b<\/td><\/tr>
-V<\/td>\u663e\u793a\u7248\u672c\u4fe1\u606f <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u89e3\u538b\u6307\u5b9a\u7684\u538b\u7f29\u5305\u6587\u4ef6\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# gunzip Filename.gz<\/strong><\/pre>\n\n\n\n

\u89e3\u538b\u6307\u5b9a\u7684\u538b\u7f29\u5305\u6587\u4ef6\uff0c\u5e76\u8f93\u51fa\u89e3\u538b\u8fc7\u7a0b\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# gunzip -v Filename.gz<\/strong><\/pre>\n\n\n\n

\u6d4b\u8bd5\u6307\u5b9a\u7684\u538b\u7f29\u5305\u6587\u4ef6\u5185\u5bb9\u662f\u5426\u635f\u574f\uff0c\u80fd\u591f\u6b63\u5e38\u89e3\u538b\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# gunzip -t Filename.gz<\/strong><\/pre>\n","protected":false},"excerpt":{"rendered":"

gunzip\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201dGnu unzip\u201c\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u89e3\u538b\u63d0\u53d6\u6587\u4ef6\u5185\u5bb9\u3002gunzip\u901a\u5e38\u88ab\u7528 […]<\/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\/3614"}],"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=3614"}],"version-history":[{"count":9,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3614\/revisions"}],"predecessor-version":[{"id":9402,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3614\/revisions\/9402"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}