{"id":641,"date":"2020-02-08T17:24:47","date_gmt":"2020-02-08T09:24:47","guid":{"rendered":"http:\/\/www.wdsos.com\/index.php\/2020\/02\/08\/linux%e6%96%87%e4%bb%b6%e5%8e%8b%e7%bc%a9%e8%a7%a3%e5%8e%8b%e5%91%bd%e4%bb%a4\/"},"modified":"2024-10-31T22:43:55","modified_gmt":"2024-10-31T14:43:55","slug":"linux%e6%96%87%e4%bb%b6%e5%8e%8b%e7%bc%a9%e8%a7%a3%e5%8e%8b%e5%91%bd%e4%bb%a4","status":"publish","type":"post","link":"https:\/\/www.jointchina.com\/index.php\/new\/641\/","title":{"rendered":"Linux\u6587\u4ef6\u538b\u7f29\u89e3\u538b\u547d\u4ee4\u600e\u4e48\u7528\uff1f"},"content":{"rendered":"<p>Linux\u6587\u4ef6\u538b\u7f29\u89e3\u538b\u547d\u4ee4<\/p>\n<p>tar\u529f\u80fd\uff1a\u6587\u4ef6\u538b\u7f29\u89e3\u538b<\/p>\n<p>\u683c\u5f0f\uff1atar&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u53c2\u6570&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u538b\u7f29\u540e\u7684\u6587\u4ef6\u540d&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u88ab\u538b\u7f29\u7684\u6587\u4ef6\u540d<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tar&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u53c2\u6570&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u88ab\u89e3\u538b\u7684\u6587\u4ef6\u540d&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-C&nbsp;&nbsp;\u6307\u5b9a\u76ee\u5f55&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\uff08\u5982\u679c\u7701\u7565 -C \u6307\u5b9a\u76ee\u5f55\uff0c\u5219\u89e3\u538b\u5230\u5f53\u524d\u6587\u4ef6\u5939\uff09<\/p>\n<p>-c \u5efa\u7acb\u4e00\u4e2a\u538b\u7f29\u6587\u4ef6\u7684\u53c2\u6570\u6307\u4ee4\uff08create\uff09&#8211;\u538b\u7f29<\/p>\n<p>-x \u89e3\u5f00\u4e00\u4e2a\u538b\u7f29\u6587\u4ef6\u7684\u53c2\u6570\u6307\u4ee4\uff08extract\uff09&#8211;\u89e3\u538b<\/p>\n<p>-z \u662f\u5426\u9700\u8981\u7528gzip\u538b\u7f29<\/p>\n<p>-v \u538b\u7f29\u7684\u8fc7\u7a0b\u4e2d\u663e\u793a\u6587\u4ef6\uff08verbose\uff09<\/p>\n<p>-f \u4f7f\u7528\u6863\u540d\uff0c\u5728f\u4e4b\u540e\u8981\u7acb\u5373\u63a5\u6863\u540d\uff08file\uff09<\/p>\n<p>\u5e38\u7528\u89e3\u538b\u53c2\u6570\u7ec4\u5408\uff1azxvf<\/p>\n<p>\u5e38\u7528\u538b\u7f29\u53c2\u6570\u7ec4\u5408\uff1azcvf<\/p>\n<p>\u4f8b\u5982\uff1a<\/p>\n<p>&nbsp;&nbsp;tar &nbsp;-zcvf &nbsp;\/root\/1.tar &nbsp;&nbsp;\/root\/a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u5c06root\u76ee\u5f55\u4e0b\u7684a\u6587\u4ef6\u5939\u538b\u7f29\u62101.tar,\u653e\u5728root\u76ee\u5f55\u4e0b\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;&nbsp;tar &nbsp;-zxvf &nbsp;.\/1.tar&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u5c06\u5f53\u524d\u76ee\u5f55\u4e0b\u76841.tar\u6587\u4ef6\u89e3\u538b\u7f29<\/p>\n<p>[\u6ce8]\uff1a\u5982\u679c\u540e\u7f00\u540d\u4e3a.tar.gz\u7684\u538b\u7f29\u5305\u7528-zxvf&nbsp;&nbsp;&nbsp;\u5982\u679c\u540e\u7f00\u540d\u4e3a.tar\u7684\u538b\u7f29\u5305\u7528-xvf<\/p>\n<p>&nbsp;<span>\u897f\u6570\u79d1\u6280: \u53f8\u6cd5\u9274\u5b9a\/\u4ea7\u54c1\u8d28\u91cf\u9274\u5b9a\/\u68c0\u9a8c\u68c0\u6d4b\/\u6570\u636e\u6062\u590d\u4e13\u5bb6. 4006184118<\/span><\/p>\n<div class=\"geo-faq-block\" id=\"geo-faq\">\n<h3>\u5e38\u89c1\u95ee\u9898\u89e3\u7b54<\/h3>\n<div class=\"geo-faq-item\">\n<h4>Linux\u4e2dtar\u547d\u4ee4\u7684\u5e38\u7528\u53c2\u6570\u6709\u54ea\u4e9b\uff1f<\/h4>\n<p>tar\u547d\u4ee4\u7684\u5e38\u7528\u53c2\u6570\u5305\u62ec\uff1a-c\u7528\u4e8e\u521b\u5efa\u538b\u7f29\u6587\u4ef6\uff0c-x\u7528\u4e8e\u89e3\u538b\u6587\u4ef6\uff0c-z\u8868\u793a\u662f\u5426\u4f7f\u7528gzip\u538b\u7f29\uff0c-v\u5728\u538b\u7f29\u6216\u89e3\u538b\u8fc7\u7a0b\u4e2d\u663e\u793a\u6587\u4ef6\u4fe1\u606f\uff0c-f\u540e\u5fc5\u987b\u7d27\u8ddf\u6587\u4ef6\u540d\u3002\u4f8b\u5982\uff0ctar -czvf \u6587\u4ef6\u540d.tar.gz \u88ab\u538b\u7f29\u6587\u4ef6 \u53ef\u8fdb\u884c\u538b\u7f29\uff0ctar -xzvf \u6587\u4ef6\u540d.tar.gz \u53ef\u8fdb\u884c\u89e3\u538b\u3002<\/p>\n<\/div>\n<div class=\"geo-faq-item\">\n<h4>\u5982\u4f55\u5c06tar\u538b\u7f29\u5305\u89e3\u538b\u5230\u6307\u5b9a\u76ee\u5f55\uff1f<\/h4>\n<p>\u4f7f\u7528tar\u547d\u4ee4\u89e3\u538b\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7-C\u53c2\u6570\u6307\u5b9a\u89e3\u538b\u76ee\u6807\u76ee\u5f55\u3002\u4f8b\u5982\uff0ctar -xzvf \u6587\u4ef6\u540d.tar.gz -C \/\u76ee\u6807\u76ee\u5f55 \u5373\u53ef\u5c06\u538b\u7f29\u5305\u89e3\u538b\u5230\u6307\u5b9a\u4f4d\u7f6e\u3002\u5982\u679c\u7701\u7565-C\u53ca\u76ee\u5f55\uff0c\u5219\u9ed8\u8ba4\u89e3\u538b\u5230\u5f53\u524d\u6587\u4ef6\u5939\u3002\u8be5\u53c2\u6570\u9002\u7528\u4e8e\u6240\u6709tar\u89e3\u538b\u64cd\u4f5c\uff0c\u4fbf\u4e8e\u6587\u4ef6\u7ba1\u7406\u3002<\/p>\n<\/div>\n<div class=\"geo-faq-item\">\n<h4>tar\u547d\u4ee4\u4e2d-z\u53c2\u6570\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\uff1f<\/h4>\n<p>tar\u547d\u4ee4\u4e2d\u7684-z\u53c2\u6570\u8868\u793a\u662f\u5426\u9700\u8981\u7528gzip\u8fdb\u884c\u538b\u7f29\u6216\u89e3\u538b\u3002\u5f53\u521b\u5efa\u538b\u7f29\u5305\u65f6\u52a0\u4e0a-z\uff0c\u4f1a\u751f\u6210\u4ee5.gz\u7ed3\u5c3e\u7684\u538b\u7f29\u6587\u4ef6\uff1b\u89e3\u538b\u65f6\u52a0\u4e0a-z\uff0c\u5219\u80fd\u5904\u7406gzip\u683c\u5f0f\u7684\u538b\u7f29\u5305\u3002\u8be5\u53c2\u6570\u662f\u5904\u7406\u5e38\u89c1tar.gz\u6587\u4ef6\u7684\u5173\u952e\uff0c\u82e5\u4e0d\u4f7f\u7528\uff0c\u5219\u4ec5\u6253\u5305\u800c\u4e0d\u538b\u7f29\u3002<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u6587\u4ef6\u538b\u7f29\u89e3\u538b\u547d\u4ee4 tar\u529f\u80fd\uff1a\u6587\u4ef6\u538b\u7f29\u89e3\u538b \u683c\u5f0f\uff1atar&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u53c2\u6570&nbsp;&nbsp;&nbsp;&nbsp;&#038;nbsp&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[289,50,142,144],"class_list":["post-641","post","type-post","status-publish","format-standard","hentry","category-new","tag-it","tag-mdf","tag-142","tag-144"],"_links":{"self":[{"href":"https:\/\/www.jointchina.com\/index.php\/wp-json\/wp\/v2\/posts\/641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jointchina.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jointchina.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jointchina.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jointchina.com\/index.php\/wp-json\/wp\/v2\/comments?post=641"}],"version-history":[{"count":1,"href":"https:\/\/www.jointchina.com\/index.php\/wp-json\/wp\/v2\/posts\/641\/revisions"}],"predecessor-version":[{"id":8846,"href":"https:\/\/www.jointchina.com\/index.php\/wp-json\/wp\/v2\/posts\/641\/revisions\/8846"}],"wp:attachment":[{"href":"https:\/\/www.jointchina.com\/index.php\/wp-json\/wp\/v2\/media?parent=641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jointchina.com\/index.php\/wp-json\/wp\/v2\/categories?post=641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jointchina.com\/index.php\/wp-json\/wp\/v2\/tags?post=641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}