{"id":283309,"date":"2023-09-23T20:04:02","date_gmt":"2023-09-23T12:04:02","guid":{"rendered":"https:\/\/lrxjmw.cn\/lxtglyfxyswj.html"},"modified":"2023-09-23T20:04:02","modified_gmt":"2023-09-23T12:04:02","slug":"lxtglyfxyswj","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lxtglyfxyswj.html","title":{"rendered":"Linux\u7cfb\u7edf\u7ba1\u7406\u5458\u5206\u4eab\u538b\u7f29\u6587\u4ef6\u547d\u4ee4"},"content":{"rendered":"
\u4f5c\u4e3a\u4e00\u540d\u8d44\u6df1Linux<\/a>\u7cfb\u7edf<\/a>\u7ba1\u7406\u5458\uff0c\u6211\u5728\u5de5\u4f5c\u4e2d\u7ecf\u5e38\u9700\u8981\u5904\u7406\u5927\u91cf\u7684\u6587\u4ef6\u548c\u6570\u636e\u3002\u4e3a\u4e86\u66f4\u9ad8\u6548\u5730\u7ba1\u7406\u548c\u4f20\u8f93\u6587\u4ef6\uff0c\u6211\u5229\u7528Linux\u7cfb\u7edf\u63d0\u4f9b\u7684\u5f3a\u5927\u538b\u7f29\u547d\u4ee4<\/a>\uff0c\u5e2e\u52a9\u6211\u5feb\u901f\u538b\u7f29\u548c\u89e3\u538b\u6587\u4ef6\u3002\u4e0b\u9762\u662f\u6211\u4eb2\u8eab\u4f53\u9a8c\u8fc7\u7684Linux\u538b\u7f29\u6587\u4ef6\u7684\u547d\u4ee4linux \u538b\u7f29\u6587\u4ef6\u7684\u547d\u4ee4<\/strong>\uff0c\u5206\u4eab\u7ed9\u5927\u5bb6\u3002<\/p>\n 1. tar\u547d\u4ee4\uff1a<\/b><\/p>\n tar\u547d\u4ee4\u662fLinux\u4e0b\u6700\u5e38\u7528\u7684\u538b\u7f29\u547d\u4ee4\u4e4b\u4e00\u3002\u901a\u8fc7tar\u547d\u4ee4\uff0c\u6211\u53ef\u4ee5\u5c06\u591a\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55\u6253\u5305\u6210\u4e00\u4e2a\u5355\u72ec\u7684\u6587\u4ef6\uff0c\u4fbf\u4e8e\u4f20\u8f93\u548c\u5b58\u50a8\u3002\u4f8b\u5982linux \u538b\u7f29\u6587\u4ef6\u7684\u547d\u4ee4<\/strong>\uff0c\u6211\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5c06\u6574\u4e2a\u76ee\u5f55\u6253\u5305\u6210\u4e00\u4e2atar\u6587\u4ef6\uff1a<\/p>\n \n 2. gzip\u547d\u4ee4\uff1a<\/b><\/p>\n gzip\u547d\u4ee4\u662fLinux\u4e0b\u6700\u5e38\u7528\u7684\u538b\u7f29\u547d\u4ee4\u4e4b\u4e00\u3002\u901a\u8fc7gzip\u547d\u4ee4\uff0c\u6211\u53ef\u4ee5\u5c06\u5355\u4e2a\u6587\u4ef6\u538b\u7f29\u6210gzip\u683c\u5f0f\uff0c\u5e76\u5c06\u539f\u6587\u4ef6\u5220\u9664\u3002\u4f8b\u5982\uff0c\u6211\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5c06\u4e00\u4e2a\u6587\u672c\u6587\u4ef6\u538b\u7f29\u6210gzip\u683c\u5f0f\uff1a<\/p>\n \n 3. gunzip\u547d\u4ee4\uff1a<\/b><\/p>\n gunzip\u547d\u4ee4\u662fgzip\u547d\u4ee4\u7684\u9006\u64cd\u4f5c\uff0c\u7528\u4e8e\u89e3\u538bgzip\u683c\u5f0f\u7684\u6587\u4ef6\u3002\u4f8b\u5982\uff0c\u6211\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u89e3\u538b\u4e00\u4e2agzip\u683c\u5f0f\u7684\u6587\u4ef6\uff1a<\/p>\n \n 4. zip\u547d\u4ee4\uff1a<\/b><\/p>\n zip\u547d\u4ee4\u662fLinux\u4e0b\u7528\u4e8e\u521b\u5efa\u548c\u89e3\u538bZIP\u683c\u5f0f\u6587\u4ef6\u7684\u547d\u4ee4\u3002\u901a\u8fc7zip\u547d\u4ee4\uff0c\u6211\u53ef\u4ee5\u5c06\u591a\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55\u6253\u5305\u6210\u4e00\u4e2aZIP\u6587\u4ef6\uff0c\u5e76\u8fdb\u884c\u538b\u7f29\u548c\u89e3\u538b\u7f29\u64cd\u4f5c\u3002\u4f8b\u5982\uff0c\u6211\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5c06\u6574\u4e2a\u76ee\u5f55\u6253\u5305\u6210\u4e00\u4e2aZIP\u6587\u4ef6\uff1a<\/p>\n \n 5. unzip\u547d\u4ee4\uff1a<\/b><\/p>\n unzip\u547d\u4ee4\u662fzip\u547d\u4ee4\u7684\u9006\u64cd\u4f5c\uff0c\u7528\u4e8e\u89e3\u538bZIP\u683c\u5f0f\u7684\u6587\u4ef6\u3002\u4f8b\u5982\uff0c\u6211\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u89e3\u538b\u4e00\u4e2aZIP\u6587\u4ef6\uff1a<\/p>\n \n <\/p>\n 6. bzip2\u547d\u4ee4\uff1a<\/b><\/p>\n bzip2\u547d\u4ee4\u662fLinux\u4e0b\u7528\u4e8e\u538b\u7f29\u6587\u4ef6\u7684\u547d\u4ee4\u3002\u901a\u8fc7bzip2\u547d\u4ee4\uff0c\u6211\u53ef\u4ee5\u5c06\u5355\u4e2a\u6587\u4ef6\u8fdb\u884c\u9ad8\u6548\u7684\u538b\u7f29\uff0c\u5e76\u751f\u6210\u4e00\u4e2abzip2\u683c\u5f0f\u7684\u6587\u4ef6\u3002\u4f8b\u5982\uff0c\u6211\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5c06\u4e00\u4e2a\u6587\u672c\u6587\u4ef6\u538b\u7f29\u6210bzip2\u683c\u5f0f\uff1a<\/p>\n \n 7. bunzip2\u547d\u4ee4\uff1a<\/b><\/p>\n bunzip2\u547d\u4ee4\u662fbzip2\u547d\u4ee4\u7684\u9006\u64cd\u4f5c\uff0c\u7528\u4e8e\u89e3\u538bbzip2\u683c\u5f0f\u7684\u6587\u4ef6\u3002\u4f8b\u5982linux\u7cfb\u7edf\u7f16\u7a0b\uff0c\u6211\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u89e3\u538b\u4e00\u4e2abzip2\u683c\u5f0f\u7684\u6587\u4ef6\uff1a<\/p>\n \n 8. rar\u547d\u4ee4\uff1a<\/b><\/p>\n rar\u547d\u4ee4\u662fLinux\u4e0b\u7528\u4e8e\u521b\u5efa\u548c\u89e3\u538bRAR\u683c\u5f0f\u6587\u4ef6\u7684\u547d\u4ee4\u3002\u901a\u8fc7rar\u547d\u4ee4\uff0c\u6211\u53ef\u4ee5\u5c06\u591a\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55\u6253\u5305\u6210\u4e00\u4e2aRAR\u6587\u4ef6\uff0c\u5e76\u8fdb\u884c\u538b\u7f29\u548c\u89e3\u538b\u7f29\u64cd\u4f5c\u3002\u4f8b\u5982\uff0c\u6211\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5c06\u6574\u4e2a\u76ee\u5f55\u6253\u5305\u6210\u4e00\u4e2aRAR\u6587\u4ef6\uff1a<\/p>\n \n 9. unrar\u547d\u4ee4\uff1a<\/b><\/p>\n <\/p>\n unrar\u547d\u4ee4\u662frar\u547d\u4ee4\u7684\u9006\u64cd\u4f5c\uff0c\u7528\u4e8e\u89e3\u538bRAR\u683c\u5f0f\u7684\u6587\u4ef6\u3002\u4f8b\u5982\uff0c\u6211\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u89e3\u538b\u4e00\u4e2aRAR\u6587\u4ef6\uff1a<\/p>\n \n 10. 7z\u547d\u4ee4\uff1a<\/b><\/p>\n 7z\u547d\u4ee4\u662fLinux\u4e0b\u7528\u4e8e\u521b\u5efa\u548c\u89e3\u538b7z\u683c\u5f0f\u6587\u4ef6\u7684\u547d\u4ee4\u3002\u901a\u8fc77z\u547d\u4ee4\uff0c\u6211\u53ef\u4ee5\u5c06\u591a\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55\u6253\u5305\u6210\u4e00\u4e2a7z\u6587\u4ef6\uff0c\u5e76\u8fdb\u884c\u538b\u7f29\u548c\u89e3\u538b\u7f29\u64cd\u4f5c\u3002\u4f8b\u5982linux\u7cfb\u7edf\u7f16\u7a0b\uff0c\u6211\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5c06\u6574\u4e2a\u76ee\u5f55\u6253\u5305\u6210\u4e00\u4e2a7z\u6587\u4ef6\uff1a<\/p>\n \n \u8fd9\u4e9bLinux\u538b\u7f29\u6587\u4ef6\u7684\u547d\u4ee4\u5728\u6211\u7684\u5de5\u4f5c\u4e2d\u53d1\u6325\u4e86\u91cd\u8981\u4f5c\u7528\uff0c\u5e2e\u52a9\u6211\u9ad8\u6548\u5730\u7ba1\u7406\u548c\u4f20\u8f93\u5927\u91cf\u7684\u6587\u4ef6\u548c\u6570\u636e\u3002\u65e0\u8bba\u662f\u65e5\u5e38\u5de5\u4f5c\u8fd8\u662f\u9879\u76ee\u5f00\u53d1\uff0c\u638c\u63e1\u8fd9\u4e9b\u547d\u4ee4\u90fd\u80fd\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\uff0c\u8282\u7701\u65f6\u95f4\u548c\u5b58\u50a8\u7a7a\u95f4\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u4e0b\u9762\u662f\u6211\u4eb2\u8eab\u4f53\u9a8c\u8fc7\u7684Linux\u538b\u7f29\u6587\u4ef6\u7684\u547d\u4ee4\uff0c\u5206\u4eab\u7ed9\u5927\u5bb6\u3002\u901a\u8fc7tar\u547d\u4ee4\uff0c\u6211\u53ef\u4ee5\u5c06\u591a\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55\u6253\u5305\u6210\u4e00\u4e2a\u5355\u72ec\u7684\u6587\u4ef6\uff0c\u4fbf\u4e8e\u4f20\u8f93\u548c\u5b58\u50a8\u3002\u901a\u8fc7zip\u547d\u4ee4\uff0c\u6211\u53ef\u4ee5\u5c06\u591a\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55\u6253\u5305\u6210\u4e00\u4e2aZIP\u6587\u4ef6\uff0c\u5e76\u8fdb\u884c\u538b\u7f29\u548c\u89e3\u538b\u7f29\u64cd\u4f5c\u3002\u901a\u8fc7rar\u547d\u4ee4\uff0c\u6211\u53ef\u4ee5\u5c06\u591a\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55\u6253\u5305\u6210\u4e00\u4e2aRAR\u6587\u4ef6\uff0c\u5e76\u8fdb\u884c\u538b\u7f29\u548c\u89e3\u538b\u7f29\u64cd\u4f5c\u3002\u901a\u8fc77z\u547d\u4ee4\uff0c\u6211\u53ef\u4ee5\u5c06\u591a\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55\u6253\u5305\u6210\u4e00\u4e2a7z\u6587\u4ef6\uff0c\u5e76\u8fdb\u884c\u538b\u7f29\u548c\u89e3\u538b\u7f29\u64cd\u4f5c\u3002<\/p>\n","protected":false},"author":1,"featured_media":283310,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-283309","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/283309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=283309"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/283309\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/283310"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=283309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=283309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=283309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\ntar -cvf archive.tar directory\/\n<\/pre>\n<\/p>\n
\ngzip file.txt\n<\/pre>\n<\/p>\n
\ngunzip file.gz\n<\/pre>\n<\/p>\n
\nzip -r archive.zip directory\/\n<\/pre>\n<\/p>\n
\nunzip archive.zip\n<\/pre>\n<\/p>\n
\nbzip2 file.txt\n<\/pre>\n<\/p>\n
\nbunzip2 file.bz2\n<\/pre>\n<\/p>\n
\nrar a archive.rar directory\/\n<\/pre>\n<\/p>\n
\nunrar x archive.rar\n<\/pre>\n<\/p>\n
\n7z a archive.7z directory\/\n<\/pre>\n<\/p>\n