{"id":52342,"date":"2024-12-03T09:59:50","date_gmt":"2024-12-03T01:59:50","guid":{"rendered":"https:\/\/fwq.ai\/blog\/52342\/"},"modified":"2024-12-03T09:59:50","modified_gmt":"2024-12-03T01:59:50","slug":"linux-gzip%e5%8e%8b%e7%bc%a9%e5%91%bd%e4%bb%a4%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/52342\/","title":{"rendered":"linux gzip\u538b\u7f29\u547d\u4ee4\u5982\u4f55\u4f7f\u7528"},"content":{"rendered":"<p><b><\/b>     <\/p>\n<h1>linux gzip\u538b\u7f29\u547d\u4ee4\u5982\u4f55\u4f7f\u7528<\/h1>\n<p>\u5927\u5bb6\u597d\uff0c\u6211\u4eec\u53c8\u89c1\u9762\u4e86\u554a~\u672c\u6587<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">\u300alinux gzip\u538b\u7f29\u547d\u4ee4\u5982\u4f55\u4f7f\u7528\u300b<\/span>\u7684\u5185\u5bb9\u4e2d\u5c06\u4f1a\u6d89\u53ca\u5230<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\"><\/span>\u7b49\u7b49\u3002\u5982\u679c\u4f60\u6b63\u5728\u5b66\u4e60<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">\u6587\u7ae0<\/span>\u76f8\u5173\u77e5\u8bc6\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\uff0c\u4ee5\u540e\u4f1a\u7ed9\u5927\u5bb6\u5e26\u6765\u66f4\u591a<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">\u6587\u7ae0<\/span>\u76f8\u5173\u6587\u7ae0\uff0c\u5e0c\u671b\u6211\u4eec\u80fd\u4e00\u8d77\u8fdb\u6b65\uff01\u4e0b\u9762\u5c31\u5f00\u59cb\u672c\u6587\u7684\u6b63\u5f0f\u5185\u5bb9~<\/p>\n<\/p>\n<blockquote>\n<p>\u5728linux\u4e2d\uff0cgzip\u547d\u4ee4\u7528\u4e8e\u5bf9\u6587\u4ef6\u8fdb\u884c\u538b\u7f29\u548c\u89e3\u538b\u7f29\uff0c\u901a\u8fc7\u6b64\u547d\u4ee4\u538b\u7f29\u5f97\u5230\u7684\u65b0\u6587\u4ef6\uff0c\u5176\u6269\u5c55\u540d\u901a\u5e38\u6807\u8bb0\u4e3a\u201c.gz\u201d\uff0c\u4f7f\u7528\u8bed\u6cd5\u4e3a\u201cgzip [\u9009\u9879] \u6e90\u6587\u4ef6\u201d\u3002\u8bed\u6cd5\u4e2d\u7684\u6e90\u6587\u4ef6\uff0c\u5f53\u8fdb\u884c\u538b\u7f29\u64cd\u4f5c\u65f6\uff0c\u6307\u7684\u662f\u666e\u901a\u6587\u4ef6\uff1b\u5f53\u8fdb\u884c\u89e3\u538b\u7f29\u64cd\u4f5c\u65f6\uff0c\u6307\u7684\u662f\u538b\u7f29\u6587\u4ef6\u3002gzip\u547d\u4ee4\u53ea\u80fd\u7528\u6765\u538b\u7f29\u6587\u4ef6\uff0c\u4e0d\u80fd\u538b\u7f29\u76ee\u5f55\uff0c\u5373\u4fbf\u6307\u5b9a\u4e86\u76ee\u5f55\uff0c\u4e5f\u53ea\u80fd\u538b\u7f29\u76ee\u5f55\u5185\u7684\u6240\u6709\u6587\u4ef6\u3002<\/p>\n<\/blockquote>\n<p>gzip \u662f Linux \u7cfb\u7edf\u4e2d\u7ecf\u5e38\u7528\u6765\u5bf9\u6587\u4ef6\u8fdb\u884c\u538b\u7f29\u548c\u89e3\u538b\u7f29\u7684\u547d\u4ee4\uff0c\u901a\u8fc7\u6b64\u547d\u4ee4\u538b\u7f29\u5f97\u5230\u7684\u65b0\u6587\u4ef6\uff0c\u5176\u6269\u5c55\u540d\u901a\u5e38\u6807\u8bb0\u4e3a\u201c.gz\u201d\u3002<\/p>\n<p>\u518d\u5f3a\u8c03\u4e00\u4e0b\uff0cgzip \u547d\u4ee4\u53ea\u80fd\u7528\u6765\u538b\u7f29\u6587\u4ef6\uff0c\u4e0d\u80fd\u538b\u7f29\u76ee\u5f55\uff0c\u5373\u4fbf\u6307\u5b9a\u4e86\u76ee\u5f55\uff0c\u4e5f\u53ea\u80fd\u538b\u7f29\u76ee\u5f55\u5185\u7684\u6240\u6709\u6587\u4ef6\u3002<\/p>\n<p><strong>gzip \u547d\u4ee4\u7684\u57fa\u672c\u683c\u5f0f\u5982\u4e0b\uff1a<\/strong><\/p>\n<pre>[root@localhost&nbsp;~]#&nbsp;gzip&nbsp;[\u9009\u9879]&nbsp;\u6e90\u6587\u4ef6<\/pre>\n<p>\u547d\u4ee4\u4e2d\u7684\u6e90\u6587\u4ef6\uff0c\u5f53\u8fdb\u884c\u538b\u7f29\u64cd\u4f5c\u65f6\uff0c\u6307\u7684\u662f\u666e\u901a\u6587\u4ef6\uff1b\u5f53\u8fdb\u884c\u89e3\u538b\u7f29\u64cd\u4f5c\u65f6\uff0c\u6307\u7684\u662f\u538b\u7f29\u6587\u4ef6\u3002\u8be5\u547d\u4ee4\u5e38\u7528\u7684\u9009\u9879\u53ca\u542b\u4e49\u5982\u8868 1 \u6240\u793a\u3002 <\/p>\n<table>  \u8868 1 gzip \u547d\u4ee4\u5e38\u7528\u9009\u9879\u53ca\u542b\u4e49  <\/p>\n<tbody>\n<tr>\n<th>\u9009\u9879<\/th>\n<th>\u542b\u4e49<\/th>\n<\/tr>\n<tr>\n<td>-c<\/td>\n<td>\u5c06\u538b\u7f29\u6570\u636e\u8f93\u51fa\u5230\u6807\u51c6\u8f93\u51fa\u4e2d\uff0c\u5e76\u4fdd\u7559\u6e90\u6587\u4ef6\u3002<\/td>\n<\/tr>\n<tr>\n<td>-d<\/td>\n<td>\u5bf9\u538b\u7f29\u6587\u4ef6\u8fdb\u884c\u89e3\u538b\u7f29\u3002<\/td>\n<\/tr>\n<tr>\n<td>-r<\/td>\n<td>\u9012\u5f52\u538b\u7f29\u6307\u5b9a\u76ee\u5f55\u4e0b\u4ee5\u53ca\u5b50\u76ee\u5f55\u4e0b\u7684\u6240\u6709\u6587\u4ef6\u3002<\/td>\n<\/tr>\n<tr>\n<td>-v<\/td>\n<td>\u5bf9\u4e8e\u6bcf\u4e2a\u538b\u7f29\u548c\u89e3\u538b\u7f29\u7684\u6587\u4ef6\uff0c\u663e\u793a\u76f8\u5e94\u7684\u6587\u4ef6\u540d\u548c\u538b\u7f29\u6bd4\u3002<\/td>\n<\/tr>\n<tr>\n<td>-l<\/td>\n<td>\u5bf9\u6bcf\u4e00\u4e2a\u538b\u7f29\u6587\u4ef6\uff0c\u663e\u793a\u4ee5\u4e0b\u5b57\u6bb5\uff1a <\/p>\n<ul>\n<li>\n<p>\u538b\u7f29\u6587\u4ef6\u7684\u5927\u5c0f\uff1b<\/p>\n<\/li>\n<li>\n<p>\u672a\u538b\u7f29\u6587\u4ef6\u7684\u5927\u5c0f\uff1b<\/p>\n<\/li>\n<li>\n<p>\u538b\u7f29\u6bd4\uff1b<\/p>\n<\/li>\n<li>\n<p>\u672a\u538b\u7f29\u6587\u4ef6\u7684\u540d\u79f0\u3002<\/p>\n<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>-\u6570\u5b57<\/td>\n<td>\u7528\u4e8e\u6307\u5b9a\u538b\u7f29\u7b49\u7ea7\uff0c-1 \u538b\u7f29\u7b49\u7ea7\u6700\u4f4e\uff0c\u538b\u7f29\u6bd4\u6700\u5dee\uff1b-9 \u538b\u7f29\u6bd4\u6700\u9ad8\u3002\u9ed8\u8ba4\u538b\u7f29\u6bd4\u662f -6\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u3010\u4f8b 1\u3011\u57fa\u672c\u538b\u7f29<\/p>\n<p>gzip \u538b\u7f29\u547d\u4ee4\u975e\u5e38\u7b80\u5355\uff0c\u751a\u81f3\u4e0d\u9700\u8981\u6307\u5b9a\u538b\u7f29\u4e4b\u540e\u7684\u538b\u7f29\u5305\u540d\uff0c\u53ea\u9700\u6307\u5b9a\u6e90\u6587\u4ef6\u540d\u5373\u53ef\u3002\u6211\u4eec\u6765\u8bd5\u8bd5\uff1a<\/p>\n<p><code><\/code><\/p>\n<pre><code>[root@localhost&nbsp;~]#&nbsp;gzip&nbsp;install.log\n#\u538b\u7f29instal.log&nbsp;\u6587\u4ef6\n[root@localhost&nbsp;~]#&nbsp;ls\nanaconda-ks.cfg&nbsp;install.log.gz&nbsp;install.log.syslog\n#\u538b\u7f29\u6587\u4ef6\u751f\u6210\uff0c\u4f46\u662f\u6e90\u6587\u4ef6\u4e5f\u6d88\u5931\u4e86<\/code><\/pre>\n<p><code>\u3010\u4f8b 2\u3011\u4fdd\u7559\u6e90\u6587\u4ef6\u538b\u7f29 <\/code><\/p>\n<\/p>\n<p>\u5728\u4f7f\u7528 gzip \u547d\u4ee4\u538b\u7f29\u6587\u4ef6\u65f6\uff0c\u6e90\u6587\u4ef6\u4f1a\u6d88\u5931\uff0c\u4ece\u800c\u751f\u6210\u538b\u7f29\u6587\u4ef6\u3002\u8fd9\u65f6\u6709\u4e9b\u4eba\u4f1a\u6709\u5f3a\u8feb\u75c7\uff0c\u5c31\u903c\u95ee\u7b14\u8005\uff1a\u80fd\u4e0d\u80fd\u5728\u538b\u7f29\u6587\u4ef6\u7684\u65f6\u5019\uff0c\u4e0d\u8ba9\u6e90\u6587\u4ef6\u6d88\u5931\uff1f\u597d\u5427\uff0c\u4e5f\u662f\u53ef\u4ee5\u7684\uff0c\u4e0d\u8fc7\u5f88\u522b\u626d\u3002<\/p>\n<p><code><\/code><\/p>\n<pre><code>[root@localhost&nbsp;~]#&nbsp;gzip&nbsp;-c&nbsp;anaconda-ks.cfg&nbsp;&gt;anaconda-ks.cfg.gz\n#\u4f7f\u7528-c\u9009\u9879\uff0c\u4f46\u662f\u4e0d\u8ba9\u538b\u7f29\u6570\u636e\u8f93\u51fa\u5230\u5c4f\u5e55\u4e0a\uff0c\u800c\u662f\u91cd\u5b9a\u5411\u5230\u538b\u7f29\u6587\u4ef6\u4e2d\uff0c\u8fd9\u6837\u53ef\u4ee5\u7f29\u6587\u4ef6\u7684\u540c\u65f6\u4e0d\u5220\u9664\u6e90\u6587\u4ef6\n[root@localhost&nbsp;~]#&nbsp;ls\nanaconda-ks.cfg&nbsp;anaconda-ks.cfg.gz&nbsp;install.log.gz&nbsp;install.log.syslog\n#\u53ef\u4ee5\u770b\u5230\u538b\u7f29\u6587\u4ef6\u548c\u6e90\u6587\u4ef6\u90fd\u5b58\u5728<\/code><\/pre>\n<p><code>\u3010\u4f8b 3\u3011 \u538b\u7f29\u76ee\u5f55 <\/code><\/p>\n<\/p>\n<p>\u6211\u4eec\u53ef\u80fd\u4f1a\u60f3\u5f53\u7136\u5730\u8ba4\u4e3a gzip \u547d\u4ee4\u53ef\u4ee5\u538b\u7f29\u76ee\u5f55\u3002 \u6211\u4eec\u6765\u8bd5\u8bd5\uff1a<\/p>\n<p><code><\/code><\/p>\n<pre><code>[root@localhost&nbsp;~]#&nbsp;mkdir&nbsp;test\n[root@localhost&nbsp;~]#&nbsp;touch&nbsp;test\/test1\n[root@localhost&nbsp;~]#&nbsp;touch&nbsp;test\/test2\n[root@localhost&nbsp;~]#&nbsp;touch&nbsp;test\/test3&nbsp;#\u5efa\u7acb\u6d4b\u8bd5\u76ee\u5f55\uff0c\u5e76\u5728\u91cc\u9762\u5efa\u7acb\u51e0\u4e2a\u6d4b\u8bd5\u6587\u4ef6\n[root@localhost&nbsp;~]#&nbsp;gzip&nbsp;-r&nbsp;test\/\n#\u538b\u7f29\u76ee\u5f55\uff0c\u5e76\u6ca1\u6709\u62a5\u9519\n[root@localhost&nbsp;~]#&nbsp;ls\nanaconda-ks.cfg&nbsp;anaconda-ks.cfg.gz&nbsp;install.log.gz&nbsp;install.log.syslog&nbsp;test\n#\u4f46\u662f\u67e5\u770b\u53d1\u73b0test\u76ee\u5f55\u4f9d\u7136\u5b58\u5728\uff0c\u5e76\u6ca1\u6709\u53d8\u4e3a\u538b\u7f29\u6587\u4ef6\n[root@localhost&nbsp;~]#&nbsp;ls&nbsp;test\/\ntestl&nbsp;.gz&nbsp;test2.gz&nbsp;test3.gz\n#\u539f\u6765gzip\u547d\u4ee4\u4e0d\u4f1a\u6253\u5305\u76ee\u5f55\uff0c\u800c\u662f\u628a\u76ee\u5f55\u4e0b\u6240\u6709\u7684\u5b50\u6587\u4ef6\u5206\u522b\u538b\u7f29<\/code><\/pre>\n<p><code>\u5728 Linux \u4e2d\uff0c\u6253\u5305\u548c\u538b\u7f29\u662f\u5206\u5f00\u5904\u7406\u7684\u3002\u800c gzip \u547d\u4ee4\u53ea\u4f1a\u538b\u7f29\uff0c\u4e0d\u80fd\u6253\u5305\uff0c\u6240\u4ee5\u624d\u4f1a\u51fa\u73b0\u6ca1\u6709\u6253\u5305\u76ee\u5f55\uff0c\u800c\u53ea\u628a\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u8fdb\u884c\u538b\u7f29\u7684\u60c5\u51b5\u3002 <\/code><\/p>\n<\/p>\n<p><strong>\u6848\u4f8b\u6f14\u793a\uff1a<\/strong><\/p>\n<p>\u538b\u7f29\u6587\u4ef6<\/p>\n<p><code><\/code><\/p>\n<pre><code>&nbsp;[root@localhost&nbsp;~]#&nbsp;ls&nbsp;\/\/\u663e\u793a\u5f53\u524d\u76ee\u5f55\u6587\u4ef6\n&nbsp;a.c&nbsp;b.h&nbsp;d.cpp\n&nbsp;[root@localhost&nbsp;~]#&nbsp;gzip&nbsp;*&nbsp;\/\/\u538b\u7f29\u76ee\u5f55\u4e0b\u7684\u6240\u6709\u6587\u4ef6\n&nbsp;[root@localhost&nbsp;~]#&nbsp;ls&nbsp;\/\/\u663e\u793a\u5f53\u524d\u76ee\u5f55\u6587\u4ef6\n&nbsp;a.c.gz&nbsp;&nbsp;&nbsp;&nbsp;b.h.gz&nbsp;&nbsp;&nbsp;&nbsp;d.cpp.gz\n&nbsp;[root@localhost&nbsp;~]#<\/code><\/pre>\n<p><code>\u63a5\u8303\u4f8b1\uff0c \u5217\u51fa\u8be6\u7ec6\u7684\u4fe1\u606f <\/code><\/p>\n<p><code><\/p>\n<pre>gzip&nbsp;-dv&nbsp;*&nbsp;\/\/\u89e3\u538b\u6587\u4ef6\uff0c\u5e76\u5217\u51fa\u8be6\u7ec6\u4fe1\u606f<\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20240425\/1714033650662a13f215d0b.png\" class=\"aligncenter\" title=\"linux gzip\u538b\u7f29\u547d\u4ee4\u5982\u4f55\u4f7f\u7528\u63d2\u56fe\" alt=\"linux gzip\u538b\u7f29\u547d\u4ee4\u5982\u4f55\u4f7f\u7528\u63d2\u56fe\" \/><\/p>\n<p>\u63a5\u8303\u4f8b1\uff0c\u663e\u793a\u538b\u7f29\u6587\u4ef6\u7684\u4fe1\u606f<\/p>\n<pre>gzip&nbsp;-l&nbsp;*<\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20240425\/1714033650662a13f219c0f.jpg\" class=\"aligncenter\" title=\"linux gzip\u538b\u7f29\u547d\u4ee4\u5982\u4f55\u4f7f\u7528\u63d2\u56fe1\" alt=\"linux gzip\u538b\u7f29\u547d\u4ee4\u5982\u4f55\u4f7f\u7528\u63d2\u56fe1\" \/><\/p>\n<p>\u5230\u8fd9\u91cc\uff0c\u6211\u4eec\u4e5f\u5c31\u8bb2\u5b8c\u4e86\u300alinux gzip\u538b\u7f29\u547d\u4ee4\u5982\u4f55\u4f7f\u7528\u300b\u7684\u5185\u5bb9\u4e86\u3002\u4e2a\u4eba\u8ba4\u4e3a\uff0c\u57fa\u7840\u77e5\u8bc6\u7684\u5b66\u4e60\u548c\u5de9\u56fa\uff0c\u662f\u4e3a\u4e86\u66f4\u597d\u7684\u5c06\u5176\u8fd0\u7528\u5230\u9879\u76ee\u4e2d\uff0c\u6b22\u8fce\u5173\u6ce8\u7c73\u4e91\u516c\u4f17\u53f7\uff0c\u5e26\u4f60\u4e86\u89e3\u66f4\u591a\u5173\u4e8eLinux,gzip\u7684\u77e5\u8bc6\u70b9\uff01<\/p>\n<p><\/code> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>linux gzip\u538b\u7f29\u547d\u4ee4\u5982\u4f55\u4f7f\u7528 \u5927\u5bb6\u597d\uff0c\u6211\u4eec\u53c8\u89c1\u9762\u4e86\u554a~\u672c\u6587\u300alinux gzip\u538b\u7f29\u547d\u4ee4\u5982\u4f55\u4f7f\u7528\u300b\u7684\u5185\u5bb9\u4e2d\u5c06\u4f1a\u6d89\u53ca\u5230\u7b49\u7b49\u3002\u5982\u679c\u4f60\u6b63\u5728\u5b66\u4e60\u6587\u7ae0\u76f8\u5173\u77e5\u8bc6\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\uff0c\u4ee5\u540e\u4f1a\u7ed9\u5927\u5bb6\u5e26\u6765\u66f4\u591a\u6587\u7ae0\u76f8\u5173\u6587\u7ae0\uff0c\u5e0c\u671b\u6211\u4eec\u80fd\u4e00\u8d77\u8fdb\u6b65\uff01\u4e0b\u9762\u5c31\u5f00\u59cb\u672c\u6587\u7684\u6b63\u5f0f\u5185\u5bb9~ \u5728linux\u4e2d\uff0cgzip\u547d\u4ee4\u7528\u4e8e\u5bf9\u6587\u4ef6\u8fdb\u884c\u538b\u7f29\u548c\u89e3\u538b\u7f29\uff0c\u901a\u8fc7\u6b64\u547d\u4ee4\u538b\u7f29\u5f97\u5230\u7684\u65b0\u6587\u4ef6\uff0c\u5176\u6269\u5c55\u540d\u901a\u5e38\u6807\u8bb0\u4e3a\u201c.gz\u201d\uff0c\u4f7f\u7528\u8bed\u6cd5\u4e3a\u201cgzip [\u9009\u9879] \u6e90\u6587\u4ef6\u201d\u3002\u8bed\u6cd5\u4e2d\u7684\u6e90\u6587\u4ef6\uff0c\u5f53\u8fdb\u884c\u538b\u7f29\u64cd\u4f5c\u65f6\uff0c\u6307\u7684\u662f\u666e\u901a\u6587\u4ef6\uff1b\u5f53\u8fdb\u884c\u89e3\u538b\u7f29\u64cd\u4f5c\u65f6\uff0c\u6307\u7684\u662f\u538b\u7f29\u6587\u4ef6\u3002gzip\u547d\u4ee4\u53ea\u80fd\u7528\u6765\u538b\u7f29\u6587\u4ef6\uff0c\u4e0d\u80fd\u538b\u7f29\u76ee\u5f55\uff0c\u5373\u4fbf\u6307\u5b9a\u4e86\u76ee\u5f55\uff0c\u4e5f\u53ea\u80fd\u538b\u7f29\u76ee\u5f55\u5185\u7684\u6240\u6709\u6587\u4ef6\u3002 gzip \u662f Linux \u7cfb\u7edf\u4e2d\u7ecf\u5e38\u7528\u6765\u5bf9\u6587\u4ef6\u8fdb\u884c\u538b\u7f29\u548c\u89e3\u538b\u7f29\u7684\u547d\u4ee4\uff0c\u901a\u8fc7\u6b64\u547d\u4ee4\u538b\u7f29\u5f97\u5230\u7684\u65b0\u6587\u4ef6\uff0c\u5176\u6269\u5c55\u540d\u901a\u5e38\u6807\u8bb0\u4e3a\u201c.gz\u201d\u3002 \u518d\u5f3a\u8c03\u4e00\u4e0b\uff0cgzip \u547d\u4ee4\u53ea\u80fd\u7528\u6765\u538b\u7f29\u6587\u4ef6\uff0c\u4e0d\u80fd\u538b\u7f29\u76ee\u5f55\uff0c\u5373\u4fbf\u6307\u5b9a\u4e86\u76ee\u5f55\uff0c\u4e5f\u53ea\u80fd\u538b\u7f29\u76ee\u5f55\u5185\u7684\u6240\u6709\u6587\u4ef6\u3002 gzip \u547d\u4ee4\u7684\u57fa\u672c\u683c\u5f0f\u5982\u4e0b\uff1a [root@localhost&nbsp;~]#&nbsp;gzip&nbsp;[\u9009\u9879]&nbsp;\u6e90\u6587\u4ef6 \u547d\u4ee4\u4e2d\u7684\u6e90\u6587\u4ef6\uff0c\u5f53\u8fdb\u884c\u538b\u7f29\u64cd\u4f5c\u65f6\uff0c\u6307\u7684\u662f\u666e\u901a\u6587\u4ef6\uff1b\u5f53\u8fdb\u884c\u89e3\u538b\u7f29\u64cd\u4f5c\u65f6\uff0c\u6307\u7684\u662f\u538b\u7f29\u6587\u4ef6\u3002\u8be5\u547d\u4ee4\u5e38\u7528\u7684\u9009\u9879\u53ca\u542b\u4e49\u5982\u8868 1 \u6240\u793a\u3002 \u8868 1 gzip \u547d\u4ee4\u5e38\u7528\u9009\u9879\u53ca\u542b\u4e49 \u9009\u9879 \u542b\u4e49 -c \u5c06\u538b\u7f29\u6570\u636e\u8f93\u51fa\u5230\u6807\u51c6\u8f93\u51fa\u4e2d\uff0c\u5e76\u4fdd\u7559\u6e90\u6587\u4ef6\u3002 -d \u5bf9\u538b\u7f29\u6587\u4ef6\u8fdb\u884c\u89e3\u538b\u7f29\u3002 -r \u9012\u5f52\u538b\u7f29\u6307\u5b9a\u76ee\u5f55\u4e0b\u4ee5\u53ca\u5b50\u76ee\u5f55\u4e0b\u7684\u6240\u6709\u6587\u4ef6\u3002 -v \u5bf9\u4e8e\u6bcf\u4e2a\u538b\u7f29\u548c\u89e3\u538b\u7f29\u7684\u6587\u4ef6\uff0c\u663e\u793a\u76f8\u5e94\u7684\u6587\u4ef6\u540d\u548c\u538b\u7f29\u6bd4\u3002 -l \u5bf9\u6bcf\u4e00\u4e2a\u538b\u7f29\u6587\u4ef6\uff0c\u663e\u793a\u4ee5\u4e0b\u5b57\u6bb5\uff1a \u538b\u7f29\u6587\u4ef6\u7684\u5927\u5c0f\uff1b \u672a\u538b\u7f29\u6587\u4ef6\u7684\u5927\u5c0f\uff1b \u538b\u7f29\u6bd4\uff1b \u672a\u538b\u7f29\u6587\u4ef6\u7684\u540d\u79f0\u3002 -\u6570\u5b57 \u7528\u4e8e\u6307\u5b9a\u538b\u7f29\u7b49\u7ea7\uff0c-1 \u538b\u7f29\u7b49\u7ea7\u6700\u4f4e\uff0c\u538b\u7f29\u6bd4\u6700\u5dee\uff1b-9 \u538b\u7f29\u6bd4\u6700\u9ad8\u3002\u9ed8\u8ba4\u538b\u7f29\u6bd4\u662f -6\u3002 \u3010\u4f8b 1\u3011\u57fa\u672c\u538b\u7f29 gzip \u538b\u7f29\u547d\u4ee4\u975e\u5e38\u7b80\u5355\uff0c\u751a\u81f3\u4e0d\u9700\u8981\u6307\u5b9a\u538b\u7f29\u4e4b\u540e\u7684\u538b\u7f29\u5305\u540d\uff0c\u53ea\u9700\u6307\u5b9a\u6e90\u6587\u4ef6\u540d\u5373\u53ef\u3002\u6211\u4eec\u6765\u8bd5\u8bd5\uff1a [root@localhost&nbsp;~]#&nbsp;gzip&nbsp;install.log #\u538b\u7f29instal.log&nbsp;\u6587\u4ef6 [root@localhost&nbsp;~]#&nbsp;ls anaconda-ks.cfg&nbsp;install.log.gz&nbsp;install.log.syslog #\u538b\u7f29\u6587\u4ef6\u751f\u6210\uff0c\u4f46\u662f\u6e90\u6587\u4ef6\u4e5f\u6d88\u5931\u4e86 \u3010\u4f8b 2\u3011\u4fdd\u7559\u6e90\u6587\u4ef6\u538b\u7f29 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-52342","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/52342","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=52342"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/52342\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=52342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=52342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=52342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}