{"id":91536,"date":"2026-08-07T23:16:19","date_gmt":"2026-08-07T15:16:19","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/91536.html"},"modified":"2026-08-07T23:16:19","modified_gmt":"2026-08-07T15:16:19","slug":"%e3%80%90linux%e7%b3%bb%e7%bb%9f%e7%af%87%e3%80%91linux%e5%85%a5%e9%97%a8%e5%9f%ba%e7%a1%80%e6%8c%87%e4%bb%a4%e4%b8%80%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/91536.html","title":{"rendered":"\u3010Linux\u7cfb\u7edf\u7bc7\u3011Linux\u5165\u95e8\u57fa\u7840\u6307\u4ee4(\u4e00\uff09"},"content":{"rendered":"<p>\u5728\u4e0a\u4e00\u7bc7\u6587\u7ae0\u4e2d&#xff0c;\u6211\u4eec\u5df2\u7ecf\u8c08\u8fc7Linux\u7684\u5386\u53f2\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u4e91\u670d\u52a1\u5668\u914d\u7f6eLinux\u73af\u5883\u548c\u4f7f\u7528Xshell\u6765\u4f7f\u7528Linux&#xff0c;\u90a3\u4e48\u6211\u4eec\u5728\u672c\u7bc7\u6587\u7ae0\u4e2d\u5c06\u8981\u5f00\u59cb\u5b66\u4e60Linux\u7684\u4e00\u4e9b\u57fa\u7840\u6307\u4ee4\u3002<\/p>\n<p id=\"main-toc\">\u76ee\u5f55<\/p>\n<p id=\"%E4%B8%80%E3%80%81%E5%85%B3%E4%BA%8E%E5%9B%BE%E5%BD%A2%E5%8C%96%E7%95%8C%E9%9D%A2-toc\" style=\"margin-left:40px\">\u4e00\u3001\u5173\u4e8e\u56fe\u5f62\u5316\u754c\u9762<\/p>\n<p id=\"%E4%BA%8C%E3%80%81Linux%E6%96%87%E4%BB%B6%E4%BB%A5%E5%8F%8A%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84-toc\" style=\"margin-left:40px\">\u4e8c\u3001Linux\u6587\u4ef6\u4ee5\u53ca\u76ee\u5f55\u7ed3\u6784<\/p>\n<p id=\"2.1%20%E6%80%8E%E4%B9%88%E7%90%86%E8%A7%A3%E6%96%87%E4%BB%B6-toc\" style=\"margin-left:80px\">2.1 \u600e\u4e48\u7406\u89e3\u6587\u4ef6<\/p>\n<p id=\"2.2%20Linux%E7%9A%84%E6%96%87%E4%BB%B6%E7%BB%93%E6%9E%84-toc\" style=\"margin-left:80px\">2.2 Linux\u7684\u6587\u4ef6\u7ed3\u6784<\/p>\n<p id=\"2.3%20Linux%E7%9A%84%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84-toc\" style=\"margin-left:80px\">2.3 Linux\u7684\u76ee\u5f55\u7ed3\u6784<\/p>\n<p id=\"2.4%20%E8%B7%AF%E5%BE%84-toc\" style=\"margin-left:80px\">2.4 \u8def\u5f84<\/p>\n<p id=\"%E4%B8%89%E3%80%81%E7%AE%80%E5%8D%95%E7%9A%84%E6%8C%87%E4%BB%A4%E5%AD%A6%E4%B9%A0-toc\" style=\"margin-left:40px\">\u4e09\u3001\u7b80\u5355\u7684\u6307\u4ee4\u5b66\u4e60<\/p>\n<p id=\"3.1%20pwd%20%E5%91%BD%E4%BB%A4-toc\" style=\"margin-left:80px\">3.1 pwd \u547d\u4ee4<\/p>\n<p id=\"3.2%20ls%E6%8C%87%E4%BB%A4-toc\" style=\"margin-left:80px\">3.2 ls\u6307\u4ee4<\/p>\n<p id=\"-l%20%E5%88%97%E5%87%BA%E6%96%87%E4%BB%B6%E7%9A%84%E8%AF%A6%E7%BB%86%E4%BF%A1%E6%81%AF-toc\" style=\"margin-left:120px\">-l \u5217\u51fa\u6587\u4ef6\u7684\u8be6\u7ec6\u4fe1\u606f<\/p>\n<p id=\"-a%20%E5%88%97%E5%87%BA%E7%9B%AE%E5%BD%95%E4%B8%8B%E7%9A%84%E6%89%80%E6%9C%89%E6%96%87%E4%BB%B6-toc\" style=\"margin-left:120px\">-a \u5217\u51fa\u76ee\u5f55\u4e0b\u7684\u6240\u6709\u6587\u4ef6<\/p>\n<p id=\"%E6%8C%87%E4%BB%A4%E9%80%89%E9%A1%B9%E7%9A%84%E7%BB%84%E5%90%88%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95-toc\" style=\"margin-left:120px\">\u6307\u4ee4\u9009\u9879\u7684\u7ec4\u5408\u4f7f\u7528\u65b9\u6cd5<\/p>\n<p id=\"ls%20-a%20-l%20%3D%3Dll(%E9%87%8D%E5%91%BD%E5%90%8D%EF%BC%89-toc\" style=\"margin-left:120px\">ls -a -l &#061;&#061;ll(\u91cd\u547d\u540d&#xff09;<\/p>\n<p id=\"3.3%20cd%E6%8C%87%E4%BB%A4-toc\" style=\"margin-left:80px\">3.3 cd\u6307\u4ee4<\/p>\n<p id=\"3.4%20touch%E6%8C%87%E4%BB%A4-toc\" style=\"margin-left:80px\">3.4 touch\u6307\u4ee4<\/p>\n<p id=\"3.4.1%20stat%E6%8C%87%E4%BB%A4-toc\" style=\"margin-left:120px\">3.4.1 stat\u6307\u4ee4<\/p>\n<p id=\"3.5%20mkdir%E6%8C%87%E4%BB%A4-toc\" style=\"margin-left:80px\">3.5 mkdir\u6307\u4ee4<\/p>\n<p id=\"3.6%20rmdir%20%E6%8C%87%E4%BB%A4%20%26%26%20rm%20%E6%8C%87%E4%BB%A4-toc\" style=\"margin-left:80px\">3.6 rmdir \u6307\u4ee4 &amp;&amp; rm \u6307\u4ee4<\/p>\n<p id=\"3.7%20man%20%E6%8C%87%E4%BB%A4-toc\" style=\"margin-left:80px\">3.7 man \u6307\u4ee4<\/p>\n<p id=\"3.8%20cp%20%E6%8C%87%E4%BB%A4-toc\" style=\"margin-left:80px\">3.8 cp \u6307\u4ee4<\/p>\n<p id=\"%E5%9B%9B%E3%80%81%E4%B8%80%E4%BA%9B%E6%8C%87%E4%BB%A4%E7%9A%84%E8%A1%A5%E5%85%85-toc\" style=\"margin-left:40px\">\u56db\u3001\u4e00\u4e9b\u6307\u4ee4\u7684\u8865\u5145<\/p>\n<p id=\"4.1%20tree%E6%8C%87%E4%BB%A4-toc\" style=\"margin-left:80px\">4.1 tree\u6307\u4ee4<\/p>\n<p id=\"9.1.1%C2%A0%C2%A0Centos%207%E4%B8%8B%E8%BD%BD%E6%8C%87%E4%BB%A4-toc\" style=\"margin-left:120px\">Centos 7\u4e0b\u8f7d\u6307\u4ee4&#xff1a;<\/p>\n<p id=\"9.1.2%C2%A0%20Ubuntu%E4%B8%8B%E8%BD%BD%E6%8C%87%E4%BB%A4-toc\" style=\"margin-left:120px\">Ubuntu\u4e0b\u8f7d\u6307\u4ee4<\/p>\n<p id=\"4.2%20whoami%E6%8C%87%E4%BB%A4-toc\" style=\"margin-left:80px\">4.2 whoami\u6307\u4ee4<\/p>\n<hr id=\"hr-toc\" \/>\n<h3 id=\"%E4%B8%80%E3%80%81%E5%85%B3%E4%BA%8E%E5%9B%BE%E5%BD%A2%E5%8C%96%E7%95%8C%E9%9D%A2\">\u4e00\u3001\u5173\u4e8e\u56fe\u5f62\u5316\u754c\u9762<\/h3>\n<p>\u5728\u64cd\u4f5c\u7cfb\u7edf\u53d1\u5c55\u7684\u65e9\u671f\u90fd\u662f\u4e0d\u5e26\u56fe\u5f62\u5316\u754c\u9762\u7684&#xff0c;\u5373\u90fd\u662f\u9ed1\u5c4f\u7ec8\u7aef&#043;\u6307\u4ee4\u64cd\u4f5c&#xff0c;\u968f\u7740\u65f6\u4ee3\u7684\u53d1\u5c55&#xff0c;\u64cd\u4f5c\u7cfb\u7edf\u62e5\u6709\u4e86\u4e24\u4e2a\u5206\u652f&#xff1a;\u4e00\u4e2a\u662f\u9762\u5411\u5927\u4f17&#xff0c;\u53e6\u4e00\u4e2a\u662f\u9762\u5411\u7a0b\u5e8f\u5458\u7b49\u4e13\u4e1a\u7528\u6237\u3002\u524d\u8005\u4e3a\u4e86\u65b9\u4fbf\u5927\u4f17\u7684\u4f7f\u7528&#xff0c;\u4e8e\u662f\u4f7f\u7528\u5e26\u56fe\u5f62\u754c\u9762\u7684\u64cd\u4f5c\u7cfb\u7edf\u5c31\u50cf\u662fwindows\u7cfb\u7edf&#xff1b;\u540e\u8005\u5c31\u662f\u6211\u4eec\u73b0\u5728\u5b66\u4e60\u7684Linux\u7cfb\u7edf&#xff0c;\u867d\u7136\u73b0\u5728\u7684Linux\u7cfb\u7edf\u4e5f\u6709\u5f88\u591a\u6f02\u4eae\u7684\u684c\u9762\u4f46\u5b83\u7684\u7075\u9b42\u4e00\u76f4\u7559\u5b58\u5728\u547d\u4ee4\u884c\u754c\u9762\u91cc&#xff0c;\u670d\u52a1\u5668\u4e0a\u7684 Linux \u66f4\u662f\u51e0\u4e4e\u53ea\u6709\u9ed1\u5e95\u767d\u5b57\u7684\u7ec8\u7aef\u3002<\/p>\n<p>\u7531\u4e8eLinux\u6ca1\u6709\u56fe\u5f62\u5316\u754c\u9762&#xff0c;\u6211\u4eec\u9700\u8981\u501f\u52a9\u4e00\u4e9b\u6307\u4ee4\u8fdb\u884c\u64cd\u4f5c\u3002\u5176\u5b9e\u547d\u4ee4\u7684\u672c\u8d28\u5c31\u662f\u6587\u4ef6&#xff0c;\u76f4\u89c2\u4e0a\u6765\u770b\u5c31\u662f\u6307\u4ee4&#061;&#061;\u53ef\u6267\u884c\u6587\u4ef6&#061;&#061;\u6211\u4eec\u5199\u7684\u7a0b\u5e8f\u3002<\/p>\n<h3 id=\"%E4%BA%8C%E3%80%81Linux%E6%96%87%E4%BB%B6%E4%BB%A5%E5%8F%8A%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84\">\u4e8c\u3001Linux\u6587\u4ef6\u4ee5\u53ca\u76ee\u5f55\u7ed3\u6784<\/h3>\n<p>\u5728\u63a5\u89e6\u4e0b\u6587\u7684\u6307\u4ee4\u4e4b\u524d\u6211\u4eec\u6709\u5fc5\u8981\u5148\u5f00\u59cb\u4e86\u89e3\u4e00\u4e0bLinux\u7684\u6587\u4ef6\u7cfb\u7edf\u4ee5\u53ca\u76ee\u5f55\u7ed3\u6784<\/p>\n<h4 id=\"2.1%20%E6%80%8E%E4%B9%88%E7%90%86%E8%A7%A3%E6%96%87%E4%BB%B6\">2.1 \u600e\u4e48\u7406\u89e3\u6587\u4ef6<\/h4>\n<p>\u5728Linux\u4e2d&#xff0c;\u51e0\u4e4e\u6240\u6709\u4e1c\u897f\u90fd\u662f\u4ee5\u6587\u4ef6\u5f62\u5f0f\u5b58\u5728\u7684\u3002\u5982\u679c\u6211\u4eec\u5efa\u7acb\u4e00\u4e2a\u7a7a\u6587\u4ef6&#xff0c;\u8be5\u6587\u4ef6\u4e5f\u4f1a\u5728\u78c1\u76d8\u4e2d\u5360\u636e\u7a7a\u95f4&#xff0c;\u56e0\u4e3a<span style=\"color:#fe2c24\">\u6587\u4ef6&#061;\u6587\u4ef6\u5185\u5bb9&#043;\u5c5e\u6027&#xff0c;\u800c\u6211\u4eec\u5b66\u4e60\u6587\u4ef6\u5c31\u662f\u5bf9\u6587\u4ef6\u7684\u5185\u5bb9\u4ee5\u53ca\u5c5e\u6027\u8fdb\u884c\u64cd\u4f5c\u3002<\/span><\/p>\n<p>\u6211\u4eec\u5e38\u7528\u540e\u7f00\u6765\u6807\u8bc6\u6587\u4ef6\u7684\u5c5e\u6027&#xff0c;\u50cf\u662f\u6587\u672c\u6587\u4ef6&#xff08;.txt)\u7b49\u5e38\u88ab\u53eb\u505a\u666e\u901a\u6587\u4ef6,\u5982\u679c\u4e0d\u5e26\u540e\u7f00\u540d\u90a3\u4e48\u5c31\u662f\u76ee\u5f55\u5373\u6587\u4ef6\u5939<\/p>\n<p>\u4e00\u4e9b\u524d\u5907\u77e5\u8bc6&#xff1a;\u5728Linux\u4e2d\u4f7f\u7528 \/ \u4f5c\u4e3a\u8def\u5f84\u5206\u9694\u7b26\u800cwin\u4e2d\u4f7f\u7528 \\\\ \u4f5c\u4e3a\u5206\u9694\u7b26<\/p>\n<h4 id=\"2.2%20Linux%E7%9A%84%E6%96%87%E4%BB%B6%E7%BB%93%E6%9E%84\">2.2 Linux\u7684\u6587\u4ef6\u7ed3\u6784<\/h4>\n<p><span style=\"color:null\">Linux \u7684\u6587\u4ef6\u7cfb\u7edf\u662f\u4e00\u68f5\u591a\u53c9\u6811&#xff0c;\u6811\u6839\u5c31\u662f\u6839\u76ee\u5f55 \/\u3002\u6240\u6709\u7684\u6587\u4ef6\u548c\u76ee\u5f55\u90fd\u76f4\u63a5\u6216\u95f4\u63a5\u5730\u6302\u8f7d\u5728\u8fd9\u4e2a\u6839\u4e0b&#xff0c;\u6240\u6709\u7684\u5b58\u50a8\u8bbe\u5907\u90fd\u662f\u901a\u8fc7\u6302\u8f7d\u5230\u4e00\u4e2a\u76ee\u5f55\u6765\u4f5c\u4e3a\u6811\u7684\u4e00\u4e2a\u5206\u652f\u3002\u8fd9\u79cd\u7ec4\u7ec7\u65b9\u5f0f\u88ab\u79f0\u4e3a\u6587\u4ef6\u7cfb\u7edf\u5c42\u6b21\u7ed3\u6784\u6807\u51c6&#xff0c;\u5b83\u89c4\u5b9a\u4e86\u5404\u4e2a\u76ee\u5f55\u5e94\u8be5\u5b58\u653e\u4ec0\u4e48\u6837\u7684\u5185\u5bb9\u3002<\/span><\/p>\n<\/p>\n<p><span style=\"color:null\">Linux\u7cfb\u7edf\u4e2d&#xff0c;\u78c1\u76d8\u4e0a\u7684\u6587\u4ef6\u548c\u76ee\u5f55\u88ab\u7ec4\u6210\u2f00\u68f5\u76ee\u5f55\u6811&#xff0c;\u6bcf\u4e2a\u8282\u70b9\u90fd\u662f\u76ee\u5f55\u6216\u6587\u4ef6&#xff0c;\u5176\u4e2d\u666e\u901a\u6587\u4ef6\u4e00\u5b9a\u662f\u76ee\u5f55\u6811\u7684\u53f6\u5b50\u8282\u70b9&#xff0c;\u76ee\u5f55\u53ef\u80fd\u662f\u53f6\u5b50(\u7a7a\u76ee\u5f55), \u4e5f\u53ef\u80fd\u662f\u7236\u4eb2\u8282\u70b9<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"552\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151615-6a75f6bfadb38.png\" width=\"1071\" \/> \u00a0<\/p>\n<h4 id=\"2.3%20Linux%E7%9A%84%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84\">2.3 Linux\u7684\u76ee\u5f55\u7ed3\u6784<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"726\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151615-6a75f6bff4073.png\" width=\"1356\" \/><\/p>\n<p>\u6211\u4eec\u81f3\u5c11\u9700\u8981\u719f\u6089\u4ee5\u4e0b\u51e0\u4e2a\u91cd\u8981\u7684\u5b50\u76ee\u5f55&#xff1a;<\/p>\n<p>\/bin&#xff1a;\u5b58\u653e\u6700\u57fa\u672c\u7684\u7528\u6237\u547d\u4ee4&#xff0c;\u6bd4\u5982 ls\u3001cp\u3001cat \u7b49&#xff0c;\u8fd9\u4e9b\u662f\u7cfb\u7edf\u542f\u52a8\u548c\u5355\u7528\u6237\u6a21\u5f0f\u90fd\u8981\u7528\u5230\u7684\u3002 \/home&#xff1a;\u666e\u901a\u7528\u6237\u7684\u5bb6\u76ee\u5f55\u6240\u5728\u5730\u3002\u6bcf\u65b0\u5efa\u4e00\u4e2a\u7528\u6237&#xff0c;\u7cfb\u7edf\u901a\u5e38\u4f1a\u5728 \/home \u4e0b\u521b\u5efa\u4e00\u4e2a\u4e0e\u7528\u6237\u540d\u540c\u540d\u7684\u6587\u4ef6\u5939\u4f5c\u4e3a\u4ed6\u7684\u79c1\u4eba\u7a7a\u95f4\u3002 \/etc&#xff1a;\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6\u96c6\u4e2d\u5730\u3002\u6bd4\u5982\u4fee\u6539\u7f51\u7edc\u3001\u8bbe\u7f6e\u5f00\u673a\u542f\u52a8\u670d\u52a1&#xff0c;\u5f80\u5f80\u5c31\u662f\u6539\u8fd9\u91cc\u7684\u67d0\u4e2a\u6587\u4ef6\u3002 \/usr&#xff1a;\u7cfb\u7edf\u8f6f\u4ef6\u8d44\u6e90\u7684\u5b58\u653e\u5730&#xff0c;\u5927\u91cf\u7684\u7528\u6237\u7ea7\u5e94\u7528\u7a0b\u5e8f\u3001\u5e93\u6587\u4ef6\u3001\u6587\u6863\u90fd\u5728\u8fd9\u91cc\u3002\/usr\/bin \u653e\u7684\u5c31\u662f\u66f4\u591a\u7684\u7528\u6237\u547d\u4ee4\u3002 \/root&#xff1a;\u8d85\u7ea7\u7528\u6237&#xff08;root&#xff09;\u7684\u5bb6\u76ee\u5f55\u3002\u8fd9\u4e2a\u76ee\u5f55\u6bd4\u8f83\u7279\u6b8a&#xff0c;\u4e0d\u653e\u5728 \/home \u4e0b&#xff0c;\u56e0\u4e3a root \u7684\u6743\u9650\u592a\u5927&#xff0c;\u9700\u8981\u5355\u72ec\u4fdd\u7ba1\u3002<\/p>\n<h4 id=\"2.4%20%E8%B7%AF%E5%BE%84\">2.4 \u8def\u5f84<\/h4>\n<p><span style=\"color:null\">Linux\u91c7\u7528\u6811\u72b6\u7ec4\u7ec7\u65b9\u5f0f&#xff0c;\u90fd\u662f\u4e3a\u4e86\u4fdd\u8bc1\u5feb\u901f\u5b9a\u4f4d\u67e5\u627e\u5230\u6307\u5b9a\u7684\u6587\u4ef6&#xff0c;\u800c\u5b9a\u4f4d\u6587\u4ef6\u5c31\u9700\u8981\u5177\u6709\u552f\u2f00\u6027\u7684\u65b9\u6848\u6765\u8fdb\u884c\u5b9a\u4f4d\u6587\u4ef6\u3002\u6811\u4e2d\u4efb\u4f55\u4e00\u4e2a\u8282\u70b9&#xff0c;\u90fd\u53ea\u6709\u4e00\u4e2a\u7236\u8282\u70b9&#xff0c;\u6240\u4ee5&#xff0c;\u4ece\u6839\u76ee\u5f55\u5f00\u59cb&#xff0c;\u5b9a\u4f4d\u6307\u5b9a\u6587\u4ef6&#xff0c;<\/span><span style=\"color:#fe2c24\">\u8def\u5f84\u5177\u6709\u552f\u4e00\u6027\u3002<\/span><\/p>\n<p>\u7edd\u5bf9\u8def\u5f84&#xff1a;\u4ee5\u6839\u8282\u70b9\u4f5c\u4e3a\u8d77\u59cb\u8282\u70b9&#xff0c;\u5230\u8fbe\u76ee\u7684\u6587\u4ef6\u7684\u6574\u4e2a\u8def\u5f84\u5c31\u662f\u7edd\u5bf9\u8def\u5f84<\/p>\n<p>\u76f8\u5bf9\u8def\u5f84&#xff1a;\u4e0d\u4ee5\u6839\u8282\u70b9\u4f5c\u4e3a\u8d77\u59cb\u8282\u70b9&#xff0c;\u800c\u662f\u4ece\u76f8\u5bf9\u4e8e\u5f53\u524d\u76ee\u5f55\u7684\u4f4d\u7f6e\u5bf9\u76ee\u7684\u6587\u4ef6\u8fdb\u884c\u5b9a\u4f4d<\/p>\n<p>  <span style=\"color:#646a73\">\u7edd\u5bf9\u8def\u5f84\u2f00\u822c\u4e0d\u4f1a\u968f\u7740\u7528\u6237\u7684\u8def\u5f84\u53d8\u5316\u800c\u4e27\u5931\u552f\u2f00\u6027&#xff0c;\u2f00\u822c\u5728\u7279\u5b9a\u670d\u52a1\u7684\u914d\u7f6e\u2f42\u4ef6\u4e2d\u7ecf\u5e38\u88ab\u4f7f\u7528<\/span><\/p>\n<p>  <span style=\"color:#646a73\">\u76f8\u5bf9\u8def\u5f84\u56e0\u4e3a\u5b83\u7684\u4fbf\u6377\u6027&#xff0c;\u2f00\u822c\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528\u8f83\u591a&#xff08;\u56e0\u4e3a\u5728Linux\u4e2d <\/span><br \/>\n  <span style=\"color:#fe2c24\">.\u53ef\u4ee5\u4ee3\u8868\u5f53\u524d\u76ee\u5f55 ..\u8868\u793a\u5f53\u524d\u76ee\u5f55\u7684\u524d\u4e00\u7ea7\u76ee\u5f55&#xff09;<\/span><\/p>\n<h3 id=\"%E4%B8%89%E3%80%81%E7%AE%80%E5%8D%95%E7%9A%84%E6%8C%87%E4%BB%A4%E5%AD%A6%E4%B9%A0\">\u4e09\u3001\u7b80\u5355\u7684\u6307\u4ee4\u5b66\u4e60<\/h3>\n<p>\u5728\u5f00\u59cb\u4e4b\u524d&#xff0c;\u9700\u8981\u5148\u8bf4\u660e\u4e00\u4e2a\u901a\u7528\u7684\u547d\u4ee4\u884c\u683c\u5f0f&#xff1a;<\/p>\n<p> \u547d\u4ee4\u540d [\u9009\u9879&#8230;] [\u53c2\u6570&#8230;]<\/p>\n<p>\u9009\u9879\u7528\u6765\u8c03\u6574\u547d\u4ee4\u7684\u884c\u4e3a&#xff0c;\u5c31\u662f\u8bf4\u4e00\u4e2a\u547d\u4ee4\u901a\u8fc7\u547d\u4ee4\u9009\u7ebf\u53ef\u4ee5\u5b9e\u73b0\u591a\u4e2a\u4e0d\u540c\u529f\u80fd&#xff0c;\u901a\u5e38\u4ee5\u00a0&#8211;\u00a0\u52a0\u4e00\u4e2a\u5b57\u6bcd&#xff08;\u5982\u00a0-l&#xff09;\u6216\u8005\u00a0&#8212;\u00a0\u52a0\u5b8c\u6574\u5355\u8bcd&#xff08;\u5982\u00a0&#8211;all&#xff09;\u7684\u5f62\u5f0f\u51fa\u73b0\u3002\u53c2\u6570\u5219\u662f\u547d\u4ee4\u8981\u64cd\u4f5c\u7684\u5bf9\u8c61&#xff0c;\u6bd4\u5982\u6587\u4ef6\u540d\u3001\u76ee\u5f55\u540d\u7b49\u3002\u65b9\u62ec\u53f7\u00a0[]\u00a0\u8868\u793a\u8fd9\u90e8\u5206\u53ef\u4ee5\u7701\u7565\u3002<\/p>\n<h4 id=\"3.1%20pwd%20%E5%91%BD%E4%BB%A4\">3.1 pwd \u547d\u4ee4<\/h4>\n<p><span style=\"color:#1f2329\">\u8bed\u6cd5: <\/span><span style=\"color:#1f2329\">pwd\u00a0 \u00a0 <\/span><\/p>\n<p><span style=\"color:#1f2329\">\u529f\u80fd&#xff1a;\u663e\u793a\u7528\u6237\u5f53\u524d\u6240\u5728\u7684\u76ee\u5f55 <\/span><\/p>\n<p><span style=\"color:#1f2329\">\u5e38\u7528\u9009\u9879&#xff1a; <\/span>\u65e0\u00a0<\/p>\n<p><span style=\"color:#1f2329\">\u4e3e\u4f8b&#xff1a;<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"66\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151616-6a75f6c056b14.png\" width=\"385\" \/><\/p>\n<h4 id=\"3.2%20ls%E6%8C%87%E4%BB%A4\">3.2 ls\u6307\u4ee4<\/h4>\n<p><span style=\"color:#1f2329\">\u8bed\u6cd5&#xff1a; <\/span><span style=\"color:#1f2329\">ls [<\/span><span style=\"color:#1f2329\">\u9009\u9879<\/span><span style=\"color:#1f2329\">] [\u76ee<\/span><span style=\"color:#1f2329\">\u5f55\u6216\u6587\u4ef6<\/span><span style=\"color:#1f2329\">] <\/span><\/p>\n<p><span style=\"color:#1f2329\">\u529f\u80fd&#xff1a;\u5bf9\u4e8e\u76ee\u5f55&#xff0c;\u8be5\u547d\u4ee4\u5217\u51fa\u8be5\u76ee\u5f55\u4e0b\u7684\u6240\u6709\u5b50\u76ee\u5f55\u4e0e\u6587\u4ef6\u3002\u5bf9\u4e8e\u6587\u4ef6&#xff0c;\u5c06\u5217\u51fa\u6587\u4ef6\u540d\u4ee5\u53ca\u5176\u4ed6\u4fe1 \u606f\u3002 <\/span><\/p>\n<p><span style=\"color:#1f2329\">\u793a\u4f8b&#xff1a;<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"64\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151616-6a75f6c061d80.png\" width=\"379\" \/><\/p>\n<p>snap\u76ee\u5f55\u662f\u7cfb\u7edf\u9ed8\u8ba4\u5b89\u88c5\u7684\u76ee\u5f55&#xff0c;\u6211\u4eec\u4f7f\u7528\u8be5\u547d\u4ee4\u5f97\u5230\/root \u76ee\u5f55\u4e0b\u7684\u6240\u6709\u5b50\u76ee\u5f55\u4ee5\u53ca\u6587\u4ef6<\/p>\n<p><span style=\"color:#1f2329\">\u5e38\u7528\u9009\u9879&#xff1a; <\/span><\/p>\n<h5 id=\"-l%20%E5%88%97%E5%87%BA%E6%96%87%E4%BB%B6%E7%9A%84%E8%AF%A6%E7%BB%86%E4%BF%A1%E6%81%AF\"><span style=\"color:null\">-l \u5217\u51fa\u6587\u4ef6\u7684\u8be6\u7ec6\u4fe1\u606f<\/span><\/h5>\n<p><span style=\"color:#fe2c24\">\u9700\u8981\u6ce8\u610f\u7684\u662f&#xff0c;\u5728\u4f7f\u7528\u6307\u4ee4\u9009\u9879\u4e4b\u524d\u9700\u8981\u6572\u51fa\u7a7a\u683c<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"120\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151616-6a75f6c06cd85.png\" width=\"700\" \/><\/p>\n<p><span style=\"color:#ff9900\">\u6ce8\u610f&#xff0c;\u4e0a\u9762\u4f7f\u7528d\u5f00\u5934\u7684\u662f\u76ee\u5f55&#xff0c;\u800c\u4ee5-\u5f00\u5934\u7684\u662f\u666e\u901a\u6587\u4ef6<\/span><\/p>\n<h5 id=\"-a%20%E5%88%97%E5%87%BA%E7%9B%AE%E5%BD%95%E4%B8%8B%E7%9A%84%E6%89%80%E6%9C%89%E6%96%87%E4%BB%B6\"><span style=\"color:#646a73\">-a \u5217\u51fa\u76ee\u5f55\u4e0b\u7684\u6240\u6709\u6587\u4ef6<\/span><\/h5>\n<p><span style=\"color:#646a73\">\u6240\u6709\u6587\u4ef6\u5c31\u5305\u542b\u4e86\u4ee5. \u5f00\u5934\u7684\u9690\u85cf\u6587\u4ef6<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"63\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151616-6a75f6c078e8d.png\" width=\"1755\" \/><\/p>\n<p>\u6211\u4eec\u5728\u524d\u9762\u4e5f\u5df2\u7ecf\u63d0\u5230\u8fc7&#xff0c;\u4efb\u4f55\u76ee\u5f55\u90fd\u6709\u5373\u4fbf\u662f\u7a7a\u76ee\u5f55\u90fd\u4f1a\u6709.\u4ee5\u53ca..\u4e24\u4e2a\u76ee\u5f55\u6587\u4ef6<\/p>\n<h5 id=\"%E6%8C%87%E4%BB%A4%E9%80%89%E9%A1%B9%E7%9A%84%E7%BB%84%E5%90%88%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95\">\u6307\u4ee4\u9009\u9879\u7684\u7ec4\u5408\u4f7f\u7528\u65b9\u6cd5<\/h5>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"242\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151616-6a75f6c08e4d6.png\" width=\"466\" \/><\/p>\n<p>\u603b\u7ed3&#xff1a;\u4e24\u4e2a\u6307\u4ee4\u9009\u9879\u53ef\u4ee5\u53ea\u4f7f\u7528\u4e00\u4e2a\u2018-\u2019,\u5982\u679c\u5206\u5f00\u4f7f\u7528&#xff0c;\u4e24\u4e2a\u6307\u4ee4\u9009\u9879\u4e4b\u95f4\u4e00\u5b9a\u8981\u7559\u6709\u7a7a\u683c&#xff0c;\u603b\u4e4b\u8981\u7559\u6709\u6572\u7a7a\u683c\u7684\u4e60\u60ef\u3002<\/p>\n<h5 id=\"ls%20-a%20-l%20%3D%3Dll(%E9%87%8D%E5%91%BD%E5%90%8D%EF%BC%89\">ls -a -l &#061;&#061;ll(\u91cd\u547d\u540d&#xff09;<\/h5>\n<p>\u5c31\u50cf\u4eba\u6709\u5916\u53f7\u4e00\u6837&#xff0c;\u6307\u4ee4\u4e5f\u6709\u522b\u540d&#xff0c;\u540d\u79f0\u4e0d\u540c\u4f46\u662f\u53ef\u4ee5\u5b9e\u73b0\u76f8\u540c\u7684\u529f\u80fd<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"357\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151616-6a75f6c09e40b.png\" width=\"672\" \/><\/p>\n<p>\u540c\u65f6\u6211\u4eec\u53d1\u73b0&#xff0c;\u4f7f\u7528ll,\u5bf9\u4e8e\u76ee\u5f55\u5b83\u5728\u540e\u9762\u8fd8\u4f1a\u52a0\u4e0a\/\u3002<\/p>\n<p>ls\u6307\u4ee4\u8fd8\u5b58\u5728\u5f88\u591a\u7684\u6307\u4ee4\u9009\u9879&#xff0c;\u6211\u4eec\u8fd9\u91cc\u4ec5\u4ecb\u7ecd\u4e86\u5e38\u7528\u7684&#xff0c;\u5982\u679c\u6709\u60f3\u4e86\u89e3\u7684\u8bf7\u81ea\u884c\u67e5\u9605\u3002<\/p>\n<h4 id=\"3.3%20cd%E6%8C%87%E4%BB%A4\">3.3 cd\u6307\u4ee4<\/h4>\n<p>\u4f5c\u7528&#xff1a;\u5229\u7528cd\u6307\u4ee4\u53ef\u4ee5\u8ba9\u7528\u6237\u8f6c\u6362\u5f53\u524d\u76ee\u5f55\u5230\u6307\u5b9a\u76ee\u5f55<\/p>\n<p>\u793a\u4f8b&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1092\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151616-6a75f6c0b1257.png\" width=\"825\" \/><\/p>\n<p>\u4f7f\u7528.\u4ee5\u53ca..\u7684\u5c0f\u6280\u5de7&#xff1a;<\/p>\n<p>. \u53ef\u4ee5\u4ee3\u8868\u5f53\u524d\u76ee\u5f55&#xff0c;.. \u4ee3\u8868\u4e0a\u4e00\u7ea7\u76ee\u5f55&#xff0c;\u90a3\u6211\u4eec\u5c31\u53ef\u4ee5\u4f7f\u7528cd ..\u5b9e\u73b0\u8fd4\u56de\u4e0a\u4e00\u7ea7\u76ee\u5f55\u7684\u64cd\u4f5c<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"235\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151617-6a75f6c121379.png\" width=\"601\" \/><\/p>\n<h4 id=\"3.4%20touch%E6%8C%87%E4%BB%A4\">3.4 touch\u6307\u4ee4<\/h4>\n<p> <span style=\"color:#1f2329\">\u8bed\u6cd5: <\/span><br \/>\n <span style=\"color:#1f2329\">touch [<\/span><br \/>\n <span style=\"color:#1f2329\">\u9009\u9879<\/span><br \/>\n <span style=\"color:#1f2329\">]&#8230; <\/span><br \/>\n <span style=\"color:#1f2329\">\u2f42\u4ef6<\/span><br \/>\n <span style=\"color:#1f2329\">&#8230; <\/span><\/p>\n<p> <span style=\"color:#1f2329\">\u529f\u80fd&#xff1a;touch\u547d\u4ee4\u53c2\u6570\u53ef\u66f4\u6539\u6587\u6863\u6216\u76ee\u5f55\u7684\u65e5\u671f\u65f6\u95f4&#xff0c;\u5305\u62ec\u5b58\u53d6\u65f6\u95f4\u548c\u66f4\u6539\u65f6\u95f4&#xff0c;\u6216\u8005\u65b0\u5efa\u2f00\u4e2a\u4e0d\u5b58\u5728\u7684\u6587\u4ef6\u3002 <\/span><\/p>\n<p> <span style=\"color:#1f2329\">\u5e38\u7528\u9009\u9879&#xff1a; <\/span><\/p>\n<p> <span style=\"color:#646a73\">-a : change only the access time&#xff08;\u4ec5\u4fee\u6539\u8bbf\u95ee\u65f6\u95f4&#xff09;<\/span><\/p>\n<p> <span style=\"color:#646a73\">-c : change only the modification time&#xff08;\u4ec5\u4fee\u6539\u4fee\u6539\u65f6\u95f4&#xff09;<\/span><\/p>\n<p> <span style=\"color:#0d0016\">\u793a\u4f8b&#xff1a;<\/span><\/p>\n<p> <span style=\"color:#0d0016\">\u65b0\u5efa\u4e00\u4e2a\u6587\u4ef6&#xff1a;<\/span><\/p>\n<p> <img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"148\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151617-6a75f6c1314ba.png\" width=\"700\" \/><\/p>\n<p>\u67e5\u770b\u6587\u4ef6\u65f6\u95f4&#xff1a;\u4f7f\u7528stat\u6307\u4ee4<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"264\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151617-6a75f6c13dd0b.png\" width=\"1114\" \/><\/p>\n<p>\u4fee\u6539\u8bbf\u95ee\u6587\u4ef6\u65f6\u95f4&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"286\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151617-6a75f6c162e62.png\" width=\"1131\" \/><\/p>\n<p>\u4fee\u6539\u6587\u4ef6\u4fee\u6539\u65f6\u95f4&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"291\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151617-6a75f6c18a01c.png\" width=\"1117\" \/><\/p>\n<h5 id=\"3.4.1%20stat%E6%8C%87%E4%BB%A4\">3.4.1 stat\u6307\u4ee4<\/h5>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"264\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151617-6a75f6c13dd0b.png\" width=\"1114\" \/><\/p>\n<p>\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u4f7f\u7528stat\u6307\u4ee4\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u4e0e\u6587\u4ef6\u64cd\u4f5c\u6709\u5173\u7684\u65f6\u95f4&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"679\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151617-6a75f6c1b185a.png\" width=\"1510\" \/><\/p>\n<p>\u5176\u4e2dChange\u65f6\u95f4\u6211\u4eec\u4f1a\u5728\u540e\u9762\u7684\u7ae0\u8282\u4e2d\u63d0\u5230\u3002<\/p>\n<h4 id=\"3.5%20mkdir%E6%8C%87%E4%BB%A4\">3.5 mkdir\u6307\u4ee4<\/h4>\n<p> <span style=\"color:#1f2329\">\u8bed\u6cd5&#xff1a; <\/span><br \/>\n <span style=\"color:#1f2329\">mkdir [<\/span><br \/>\n <span style=\"color:#1f2329\">\u9009\u9879<\/span><br \/>\n <span style=\"color:#1f2329\">] dirname&#8230; <\/span><\/p>\n<p> <span style=\"color:#1f2329\">\u529f\u80fd&#xff1a;\u5728\u5f53\u524d\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a \u201cdirname\u201d\u7684\u76ee\u5f55 <\/span><\/p>\n<p> <span style=\"color:#1f2329\">\u5e38\u7528\u9009\u9879&#xff1a; <\/span><\/p>\n<p><span style=\"color:#646a73\">-p\/&#8211;parents: \u53ef\u4ee5\u662f\u4e00\u4e2a\u8def\u5f84\u540d\u79f0\u3002\u6b64\u65f6\u82e5\u8def\u5f84\u4e2d\u7684\u67d0\u4e9b\u76ee\u5f55\u5c1a\u4e0d\u5b58\u5728,\u52a0\u4e0a\u6b64\u9009\u9879\u540e,\u7cfb\u7edf\u5c06\u81ea\u52a8\u5efa\u7acb\u597d\u90a3\u4e9b\u5c1a\u4e0d\u5b58\u5728\u7684\u76ee\u5f55,\u5373\u4e00\u6b21\u53ef\u4ee5\u5efa\u7acb\u591a\u4e2a\u76ee\u5f55<\/span><\/p>\n<p><span style=\"color:#0d0016\">\u793a\u4f8b&#xff1a;<\/span><\/p>\n<p><span style=\"color:#0d0016\">\u521b\u5efa\u4e00\u4e2a\u76ee\u5f55&#xff1a;<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"88\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151618-6a75f6c206545.png\" width=\"619\" \/><\/p>\n<p>\u4f7f\u7528-p\u9012\u5f52\u5efa\u7acb\u6307\u5b9a\u8def\u5f84\u7684\u76ee\u5f55&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"483\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151618-6a75f6c212266.png\" width=\"1108\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"174\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151618-6a75f6c254343.png\" width=\"621\" \/><\/p>\n<h4 id=\"3.6%20rmdir%20%E6%8C%87%E4%BB%A4%20%26%26%20rm%20%E6%8C%87%E4%BB%A4\"><span style=\"color:#1f2329\">3.6 rmdir \u6307\u4ee4 &amp;&amp; rm \u6307\u4ee4<\/span><\/h4>\n<p> <span style=\"color:#1f2329\">rmdir\u662f\u2f00\u4e2a\u4e0emkdir\u76f8\u5bf9\u5e94\u7684\u547d\u4ee4&#xff0c;mkdir\u662f\u5efa\u7acb\u76ee\u5f55&#xff0c;\u800crmdir\u662f\u5220\u9664\u76ee\u5f55<\/span><\/p>\n<p> <span style=\"color:#1f2329\">\u8bed\u6cd5&#xff1a; <\/span><br \/>\n <span style=\"color:#1f2329\">rmdir [-p] [dirName] <\/span><\/p>\n<p> <span style=\"color:#1f2329\">\u9002\u2f64\u5bf9\u8c61&#xff1a;\u5177\u6709\u5f53\u524d\u76ee\u5f55\u64cd\u4f5c\u6743\u9650\u7684\u6240\u6709\u4f7f\u2f64\u8005 <\/span><\/p>\n<p> <span style=\"color:#1f2329\">\u529f\u80fd&#xff1a;\u5220\u9664\u7a7a\u76ee\u5f55 <\/span><\/p>\n<p> <span style=\"color:#1f2329\">\u5e38\u2f64\u9009\u9879&#xff1a; <\/span><\/p>\n<p> <span style=\"color:#646a73\">-p \u5f53\u5b50\u76ee\u5f55\u88ab\u5220\u9664\u540e\u5982\u679c\u7236\u76ee\u5f55\u4e5f\u53d8\u6210\u7a7a\u76ee\u5f55\u7684\u8bdd&#xff0c;\u5c31\u8fde\u5e26\u7236\u76ee\u5f55\u2f00\u8d77\u5220\u9664\u3002 <\/span><\/p>\n<p> <span style=\"color:#1f2329\">\u4e3e\u4f8b&#xff1a;<\/span><\/p>\n<p> <span style=\"color:#1f2329\">\u5220\u9664\u7a7a\u76ee\u5f55&#xff1a;<\/span><\/p>\n<p> <img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"133\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151618-6a75f6c266084.png\" width=\"784\" \/><\/p>\n<p>\u5220\u9664\u8def\u5f84&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"480\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151618-6a75f6c279321.png\" width=\"735\" \/><\/p>\n<p><span style=\"color:#1f2329\">rm \u547d\u4ee4\u53ef\u4ee5\u540c\u65f6\u5220\u9664\u6587\u4ef6\u6216\u76ee\u5f55 <\/span><\/p>\n<p><span style=\"color:#1f2329\">\u8bed\u6cd5&#xff1a; <\/span><span style=\"color:#1f2329\">rm [-f-i-r-v] [dirName\/dir] <\/span><\/p>\n<p><span style=\"color:#1f2329\">\u9002\u7528\u5bf9\u8c61&#xff1a;\u6240\u6709\u4f7f\u7528\u8005 <\/span><\/p>\n<p><span style=\"color:#1f2329\">\u529f\u80fd&#xff1a;\u5220\u9664\u6587\u4ef6\u6216\u76ee\u5f55 <\/span><\/p>\n<p><span style=\"color:#1f2329\">\u5e38\u7528\u9009\u9879&#xff1a; <\/span><\/p>\n<p><span style=\"color:#646a73\">-f \u5373\u4f7f\u2f42\u4ef6\u5c5e\u6027\u4e3a\u53ea\u8bfb(\u5373\u5199\u4fdd\u62a4)&#xff0c;\u4ea6\u76f4\u63a5\u5220\u9664 <\/span><\/p>\n<p><span style=\"color:#646a73\">-i \u5220\u9664\u524d\u9010\u2f00\u8be2\u95ee\u786e\u8ba4 <\/span><\/p>\n<p><span style=\"color:#646a73\">-r \u5220\u9664\u76ee\u5f55\u53ca\u5176\u4e0b\u6240\u6709\u6587\u4ef6,\u4e3b\u8981\u4e0d\u8981\u4e0d\u5c0f\u5fc3\u5220\u9664\u4e86\u6839\u76ee\u5f55&#xff0c;\u8fd9\u6837\u4f1a\u5bfc\u81f4\u7cfb\u7edf\u635f\u574f<\/span><\/p>\n<p><span style=\"color:#646a73\">\u793a\u4f8b<\/span><\/p>\n<p>  # \u5220\u9664\u666e\u901a\u2f42\u4ef6<br \/>\n[whb&#064;bite-alicloud test]$ ll<br \/>\ntotal 8<br \/>\ndrwxrwxr-x 2 whb whb 4096 Jan 11 14:22 dir<br \/>\n-rw-rw-r&#8211; 1 whb whb 0 Jan 11 14:22 file.txt<br \/>\n-rw-rw-r&#8211; 1 whb whb 0 Jan 11 15:09 newFile.txt<br \/>\ndrwxrwxr-x 3 whb whb 4096 Jan 11 15:26 path1<br \/>\n[whb&#064;bite-alicloud test]$ rm file.txt<br \/>\n[whb&#064;bite-alicloud test]$ ll<br \/>\ntotal 8<br \/>\ndrwxrwxr-x 2 whb whb 4096 Jan 11 14:22 dir<br \/>\n-rw-rw-r&#8211; 1 whb whb 0 Jan 11 15:09 newFile.txt<br \/>\ndrwxrwxr-x 3 whb whb 4096 Jan 11 15:26 path1<br \/>\n# \u5220\u9664\u2f6c\u5f55\u2f42\u4ef6<br \/>\n[whb&#064;bite-alicloud test]$ ll<br \/>\ntotal 8<br \/>\ndrwxrwxr-x 2 whb whb 4096 Jan 11 14:22 dir<br \/>\n-rw-rw-r&#8211; 1 whb whb 0 Jan 11 15:09 newFile.txt<br \/>\ndrwxrwxr-x 3 whb whb 4096 Jan 11 15:26 path1<br \/>\n[whb&#064;bite-alicloud test]$ rm dir<br \/>\nrm: cannot remove \u2018dir\u2019: Is a directory<br \/>\n[whb&#064;bite-alicloud test]$ rm -r dir<br \/>\n[whb&#064;bite-alicloud test]$ ll<br \/>\ntotal 4<br \/>\n-rw-rw-r&#8211; 1 whb whb 0 Jan 11 15:09 newFile.txt<br \/>\ndrwxrwxr-x 3 whb whb 4096 Jan 11 15:26 path1<br \/>\n# \u5220\u9664\u666e\u901a\u2f42\u4ef6\u524d\u8be2\u95ee<br \/>\n[whb&#064;bite-alicloud test]$ ll<br \/>\ntotal 4<br \/>\n-rw-rw-r&#8211; 1 whb whb 0 Jan 11 15:09 newFile.txt<br \/>\ndrwxrwxr-x 3 whb whb 4096 Jan 11 15:26 path1<br \/>\n[whb&#064;bite-alicloud test]$ rm -i newFile.txt<br \/>\nrm: remove regular empty file \u2018newFile.txt\u2019? y<br \/>\n[whb&#064;bite-alicloud test]$ ll<br \/>\ntotal 4<br \/>\ndrwxrwxr-x 3 whb whb 4096 Jan 11 15:26 path1<br \/>\n[whb&#064;bite-alicloud test]$ ll<br \/>\ntotal 4<br \/>\ndrwxrwxr-x 3 whb whb 4096 Jan 11 15:26 path1<br \/>\n# \u5220\u9664\u2f6c\u5f55\u524d\u8be2\u95ee<br \/>\n[whb&#064;bite-alicloud test]$ mkdir -p d\/d\/d\/d<br \/>\n[whb&#064;bite-alicloud test]$ tree d<br \/>\nd<br \/>\n\u2514\u2500\u2500 d<br \/>\n\u2514\u2500\u2500 d<br \/>\n\u2514\u2500\u2500 d<br \/>\n3 directories, 0 files<br \/>\n[whb&#064;bite-alicloud test]$ rm -ri d<br \/>\nrm: descend into directory \u2018d\u2019? y<br \/>\nrm: descend into directory \u2018d\/d\u2019? y<br \/>\nrm: descend into directory \u2018d\/d\/d\u2019? y<br \/>\nrm: remove directory \u2018d\/d\/d\/d\u2019? y<br \/>\nrm: remove directory \u2018d\/d\/d\u2019? y<br \/>\nrm: remove directory \u2018d\/d\u2019? y<br \/>\nrm: remove directory \u2018d\u2019? y<br \/>\n[whb&#064;bite-alicloud test]$ ll<br \/>\ntotal 0<\/p>\n<p># \u9012\u5f52\u5f3a\u5236\u5220\u9664\u2fae\u7a7a\u2f6c\u5f55<br \/>\n[whb&#064;bite-alicloud test]$ tree path1\/<br \/>\npath1\/<br \/>\n\u251c\u2500\u2500 myfile.txt<br \/>\n\u2514\u2500\u2500 path2<br \/>\n\u2514\u2500\u2500 myfile.txt<br \/>\n1 directory, 2 files<br \/>\n[whb&#064;bite-alicloud test]$ rm -f path1<br \/>\nrm: cannot remove \u2018path1\u2019: Is a directory<br \/>\n[whb&#064;bite-alicloud test]$ rm -rf path1<br \/>\n[whb&#064;bite-alicloud test]$ ll<br \/>\ntotal 0<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"299\" src=\"2026-08-0710m5yrpqypz.png\" width=\"534\" \/><\/p>\n<h4 id=\"3.7%20man%20%E6%8C%87%E4%BB%A4\"><span style=\"color:#1f2329\">3.7 man \u6307\u4ee4 <\/span><\/h4>\n<p><span style=\"color:#1f2329\">Linux\u7684\u547d\u4ee4\u6709\u5f88\u591a\u53c2\u6570&#xff0c;\u6211\u4eec\u4e0d\u53ef\u80fd\u5168\u8bb0\u4f4f&#xff0c;\u53ef\u4ee5\u901a\u8fc7\u67e5\u770b\u8054\u673a\u624b\u518c\u83b7\u53d6\u5e2e\u52a9 <\/span><\/p>\n<p><span style=\"color:#1f2329\">\u8bed\u6cd5: <\/span><span style=\"color:#1f2329\">man [<\/span><span style=\"color:#1f2329\">\u9009\u9879<\/span><span style=\"color:#1f2329\">] <\/span><span style=\"color:#1f2329\">\u547d\u4ee4 <\/span><\/p>\n<p><span style=\"color:#1f2329\">\u5e38\u7528\u9009\u9879 <\/span><\/p>\n<p><span style=\"color:#646a73\">-k \u6839\u636e\u5173\u952e\u5b57\u641c\u7d22\u8054\u673a\u5e2e\u52a9 <\/span><\/p>\n<p><span style=\"color:#646a73\">num \u53ea\u5728\u7b2cnum\u7ae0\u8282\u67e5\u627e <\/span><\/p>\n<p><span style=\"color:#646a73\">-a \u5c06\u6240\u6709\u7ae0\u8282\u7684\u90fd\u663e\u793a\u51fa\u6765&#xff0c;\u6bd4\u5982 man printf \u5b83\u7f3a\u7701\u4ece\u7b2c\u2f00\u7ae0\u5f00\u59cb\u641c\u7d22&#xff0c;\u77e5\u9053\u5c31\u505c\u6b62&#xff0c;\u7528a\u9009\u9879&#xff0c;\u5f53\u6309\u4e0bq\u9000\u51fa&#xff0c;\u4ed6\u4f1a\u7ee7\u7eed\u5f80\u540e\u9762\u641c\u7d22&#xff0c;\u76f4\u5230\u6240\u6709\u7ae0\u8282\u90fd\u641c\u7d22\u5b8c\u6bd5 <\/span><\/p>\n<p><span style=\"color:#1f2329\">\u89e3\u91ca\u2f00\u4e0b&#xff1a;man\u624b\u518c\u5206\u4e3a9\u7ae0(\u4e0d\u540c\u7cfb\u7edf\u53ef\u80fd\u4f1a\u6709\u5dee\u522b) <\/span><\/p>\n<p><span style=\"color:#646a73\">1 \u662f\u666e\u901a\u7684\u547d\u4ee4 <\/span><\/p>\n<p><span style=\"color:#646a73\">2 \u662f\u7cfb\u7edf\u8c03\u2f64,\u5982open,write\u4e4b\u7c7b\u7684(\u901a\u8fc7\u8fd9\u4e2a&#xff0c;\u81f3\u5c11\u53ef\u4ee5\u5f88\u65b9\u4fbf\u7684\u67e5\u5230\u8c03\u2f64\u8fd9\u4e2a\u51fd\u6570&#xff0c;\u9700\u8981\u52a0\u4ec0\u4e48 \u5934\u6587\u4ef6) <\/span><\/p>\n<p><span style=\"color:#646a73\">3 \u662f\u5e93\u51fd\u6570,\u5982printf,fread4\u662f\u7279\u6b8a\u6587\u4ef6,\u4e5f\u5c31\u662f\/dev\u4e0b\u7684\u5404\u79cd\u8bbe\u5907\u6587\u4ef6 <\/span><\/p>\n<p><span style=\"color:#646a73\">4 \u7565 <\/span><\/p>\n<p><span style=\"color:#646a73\">5 \u662f\u6307\u6587\u4ef6\u7684\u683c\u5f0f,\u6bd4\u5982passwd, \u5c31\u4f1a\u8bf4\u660e\u8fd9\u4e2a\u6587\u4ef6\u4e2d\u5404\u4e2a\u5b57\u6bb5\u7684\u542b\u4e49 <\/span><\/p>\n<p><span style=\"color:#646a73\">6 \u662f\u7ed9\u6e38\u620f\u7559\u7684,\u7531\u5404\u4e2a\u6e38\u620f\u81ea\u5df1i\u5b9a\u4e49 <\/span><\/p>\n<p><span style=\"color:#646a73\">7 \u662f\u9644\u4ef6\u8fd8\u6709\u2f00\u4e9b\u53d8\u91cf,\u6bd4\u5982\u50cfenviron\u8fd9\u79cd\u5168\u5c40\u53d8\u91cf\u5728\u8fd9\u2fa5\u5c31\u6709\u8bf4\u660e <\/span><\/p>\n<p><span style=\"color:#646a73\">8 \u662f\u7cfb\u7edf\u7ba1\u7406\u7528\u7684\u547d\u4ee4,\u8fd9\u4e9b\u547d\u4ee4\u53ea\u80fd\u7531root\u4f7f\u7528,\u5982ifconfig <\/span><\/p>\n<p><span style=\"color:#646a73\">9 \u7565<\/span><\/p>\n<p><span style=\"color:#646a73\">\u793a\u4f8b&#xff1a;<\/span><\/p>\n<p> [whb&#064;bite-alicloud test]$ man printf # \u67e5\u770bprintf\u6307\u4ee4(\u6ca1\u9519&#xff0c;printf\u4e5f\u662f\u2f00\u4e2a\u6307<br \/>\n\u4ee4)<br \/>\n[whb&#064;bite-alicloud test]$ man fork # \u67e5\u770b\u7cfb\u7edf\u8c03\u2f64&#xff0c;\u9ed8\u8ba4\u6ca1\u6709\u8fd9\u4e2a\u6307\u4ee4&#xff0c;man\u5c31\u2f83\u52a8<br \/>\n\u53bb2\u53f7\u2f3f\u518c\u67e5\u627e<br \/>\n[whb&#064;bite-alicloud test]$ man 2 frok # \u67e5\u770b\u7cfb\u7edf\u8c03\u2f64<br \/>\n[whb&#064;bite-alicloud test]$ man 3 printf # \u67e5\u770bC\u5e93\u51fd\u6570<br \/>\n[whb&#064;bite-alicloud test]$ man 7 signal # \u67e5\u770b\u53d8\u91cf<br \/>\n[whb&#064;bite-alicloud test]$ man 7 environ<br \/>\n[whb&#064;bite-alicloud test]$ man man # \u67e5\u770bman\u2f3f\u518c\u2f83\u2f30 <\/p>\n<h4 id=\"3.8%20cp%20%E6%8C%87%E4%BB%A4\"><span style=\"color:#1f2329\">3.8 cp \u6307\u4ee4 <\/span><\/h4>\n<p><span style=\"color:#1f2329\">\u8bed\u6cd5&#xff1a; <\/span><span style=\"color:#1f2329\">cp [<\/span><span style=\"color:#1f2329\">\u9009\u9879<\/span><span style=\"color:#1f2329\">] <\/span><span style=\"color:#1f2329\">\u6e90\u2f42\u4ef6\u6216\u2f6c\u5f55 \u2f6c\u6807\u6587\u4ef6\u6216\u2f6c\u5f55 <\/span><\/p>\n<p><span style=\"color:#1f2329\">\u529f\u80fd: \u590d\u5236\u6587\u4ef6\u6216\u2f6c\u5f55 <\/span><\/p>\n<p><span style=\"color:#1f2329\">\u8bf4\u660e: <\/span><\/p>\n<p><span style=\"color:null\">cp\u6307\u4ee4\u7528\u4e8e\u590d\u5236\u6587\u4ef6\u6216\u2f6c\u5f55&#xff0c;\u5982\u540c\u65f6\u6307\u5b9a\u4e24\u4e2a\u4ee5\u4e0a\u7684\u6587\u4ef6\u6216\u76ee\u5f55&#xff0c;\u4e14\u6700\u540e\u7684\u76ee\u7684\u5730\u662f\u2f00\u4e2a\u5df2\u7ecf\u5b58\u5728\u7684\u2f6c\u5f55&#xff0c;\u5219\u5b83\u4f1a\u628a\u524d\u2faf\u6307\u5b9a\u7684\u6240\u6709\u2f42\u4ef6\u6216\u2f6c\u5f55\u590d\u5236\u5230\u6b64\u2f6c\u5f55\u4e2d <\/span><\/p>\n<\/p>\n<p>cp \u62f7\u8d1d\u666e\u901a\u6587\u4ef6\u65f6,\u6ce8\u610f\u540c\u4e00\u76ee\u5f55\u4e2d\u4e0d\u80fd\u5b58\u5728\u540c\u540d\u6587\u4ef6 \u4f7f\u7528cp\u53ef\u4ee5\u6307\u5b9a\u5c06\u8be5\u6587\u4ef6\u62f7\u8d1d\u5230\u5bf9\u5e94\u76ee\u5f55\u4e2d&#xff0c;\u5982\u679c\u6ca1\u6709\u5199\u51fa\u62f7\u8d1d\u540e\u7684\u6587\u4ef6\u540d\u90a3\u4e48\u5c31\u4f1a\u751f\u6210\u4e0e\u8be5\u6587\u4ef6\u76f8\u540c\u7684\u540d\u5b57<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"277\" src=\"2026-08-07dw4jnkklom5.png\" width=\"354\" \/><\/p>\n<p>\u62f7\u8d1d\u76ee\u5f55\u4e0d\u80fd\u5411\u4e0a\u9762\u4e00\u6837\u64cd\u4f5c \u8fd8\u9700\u8981\u4f7f\u7528 -r \u5373 cp -r \u76ee\u5f55\u540d1 \u76ee\u5f55\u540d2&#xff0c;\u5982\u679c\u540d\u5f552\u91cc\u9762\u5df2\u7ecf\u5b58\u5728\u76ee\u5f55&#xff0c;\u90a3\u4e48\u5c31\u4f1a\u628a\u6574\u4e2a\u76ee\u5f551\u62f7\u8d1d\u5230\u76ee\u5f552\u4e2d<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"216\" src=\"2026-08-07xvdmpm0irmv.png\" width=\"310\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"382\" src=\"2026-08-07tox4ltv4mpy.png\" width=\"365\" \/><\/p>\n<p><span style=\"color:null\">\u5e38\u7528\u9009\u9879 <\/span><\/p>\n<p><span style=\"color:null\">-f \u6216 &#8211;force \u5f3a\u884c\u590d\u5236\u6587\u4ef6\u6216\u76ee\u5f55&#xff0c; \u4e0d\u8bba\u76ee\u7684\u6587\u4ef6\u6216\u76ee\u5f55\u662f\u5426\u5df2\u7ecf\u5b58\u5728 <\/span><\/p>\n<p><span style=\"color:null\">-i \u6216 &#8211;interactive \u8986\u76d6\u6587\u4ef6\u4e4b\u524d\u5148\u8be2\u95ee\u7528\u6237<\/span><\/p>\n<p><span style=\"color:null\">-r \u9012\u5f52\u5904\u7406&#xff0c;\u5c06\u6307\u5b9a\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u4e0e\u5b50\u76ee\u5f55\u2f00\u5e76\u5904\u7406\u3002\u82e5\u6e90\u6587\u4ef6\u6216\u76ee\u5f55\u7684\u5f62\u6001&#xff0c;\u4e0d\u5c5e\u4e8e\u76ee\u5f55\u6216\u7b26\u53f7\u94fe\u63a5&#xff0c;\u5219\u2f00\u5f8b\u89c6\u4e3a\u666e\u901a\u6587\u4ef6\u5904\u7406<\/span><\/p>\n<\/p>\n<h3 id=\"%E5%9B%9B%E3%80%81%E4%B8%80%E4%BA%9B%E6%8C%87%E4%BB%A4%E7%9A%84%E8%A1%A5%E5%85%85\">\u56db\u3001\u4e00\u4e9b\u6307\u4ee4\u7684\u8865\u5145<\/h3>\n<h4 id=\"4.1%20tree%E6%8C%87%E4%BB%A4\">4.1 tree\u6307\u4ee4<\/h4>\n<p>\u6211\u4eec\u5728\u4e0a\u9762\u7684\u5b9e\u4f8b\u4e2d\u7528\u5230\u7684\u5927\u91cf\u7684tree\u6307\u4ee4&#xff0c;\u53ef\u4ee5\u77e5\u9053tree\u6307\u4ee4\u53ef\u4ee5\u8ba9\u76ee\u5f55\u7ed3\u6784\u4ee5\u6811\u7684\u5f62\u5f0f\u5c55\u793a<\/p>\n<p>\u6709\u4e9b\u7248\u672c\u7684\u7cfb\u7edf\u53ef\u80fd\u6ca1\u6709\u5b89\u88c5&#xff0c;\u4e0b\u9762\u662f\u5404\u7248\u672c\u7684\u5b89\u88c5\u4ee3\u7801&#xff1a;<\/p>\n<h5 id=\"9.1.1%C2%A0%C2%A0Centos%207%E4%B8%8B%E8%BD%BD%E6%8C%87%E4%BB%A4\">Centos 7\u4e0b\u8f7d\u6307\u4ee4&#xff1a;<\/h5>\n<p> yum install -y tree <\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"299\" src=\"2026-08-07dilrdmrc2uq.png\" width=\"534\" \/><\/p>\n<h5 id=\"9.1.2%C2%A0%20Ubuntu%E4%B8%8B%E8%BD%BD%E6%8C%87%E4%BB%A4\">Ubuntu\u4e0b\u8f7d\u6307\u4ee4<\/h5>\n<p> apt install -y tree <\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"299\" src=\"2026-08-07qsjjf0cvcjm.png\" width=\"534\" \/><\/p>\n<p>\u4f7f\u7528\u793a\u4f8b&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"358\" src=\"2026-08-07f2z5g4fc2od.png\" width=\"322\" \/><\/p>\n<p>\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528 tree&#xff0c;\u90a3\u4e48\u5c31\u662f\u5c55\u793a\u5f53\u524d\u76ee\u5f55\u7ed3\u6784&#xff08;\u4e0e\u4f7f\u7528tree .\u662f\u4e00\u6837\u7684)\u6216\u8005\u540e\u9762\u63a5\u6307\u5b9a\u8def\u5f84\u3002<\/p>\n<h4 id=\"4.2%20whoami%E6%8C%87%E4%BB%A4\">4.2 whoami\u6307\u4ee4<\/h4>\n<p>\u4f7f\u7528\u8be5\u6307\u4ee4\u53ef\u4ee5\u5f97\u5230\u7528\u6237\u540d<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"63\" src=\"2026-08-07fwghhw3oycg.png\" width=\"393\" \/><\/p>\n<p>\u5728\u4e0b\u7bc7\u6587\u7ae0\u4e2d&#xff0c;\u6211\u4eec\u5c06\u4f1a\u7ee7\u7eed\u5bf9Linux\u6307\u4ee4<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u4e0a\u4e00\u7bc7\u6587\u7ae0\u4e2d&#xff0c;\u6211\u4eec\u5df2\u7ecf\u8c08\u8fc7Linux\u7684\u5386\u53f2\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u4e91\u670d\u52a1\u5668\u914d\u7f6eLinux\u73af\u5883\u548c\u4f7f\u7528Xshell\u6765\u4f7f\u7528Linux&#xff0c;\u90a3\u4e48\u6211\u4eec\u5728\u672c\u7bc7\u6587\u7ae0\u4e2d\u5c06\u8981\u5f00\u59cb\u5b66\u4e60Linux\u7684\u4e00\u4e9b\u57fa\u7840\u6307\u4ee4\u3002<br \/>\n\u76ee\u5f55<br \/>\n\u4e00\u3001\u5173\u4e8e\u56fe\u5f62\u5316\u754c\u9762<br \/>\n\u4e8c\u3001Linux\u6587\u4ef6\u4ee5\u53ca\u76ee\u5f55\u7ed3\u6784<br \/>\n2.1 \u600e\u4e48\u7406\u89e3\u6587\u4ef6<br \/>\n2.2 Linux\u7684\u6587\u4ef6\u7ed3\u6784<br \/>\n2.3 Linux\u7684\u76ee\u5f55\u7ed3\u6784<br \/>\n2.4 \u8def\u5f84<br \/>\n\u4e09\u3001\u7b80\u5355\u7684\u6307\u4ee4\u5b66\u4e60<br \/>\n3.1 pwd \u547d\u4ee4<br \/>\n3.2 ls\u6307\u4ee4<br \/>\n-l \u5217\u51fa\u6587\u4ef6\u7684\u8be6\u7ec6\u4fe1\u606f<br \/>\n-a \u5217\u51fa<\/p>\n","protected":false},"author":2,"featured_media":91516,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,43,44],"topic":[],"class_list":["post-91536","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-linux","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010Linux\u7cfb\u7edf\u7bc7\u3011Linux\u5165\u95e8\u57fa\u7840\u6307\u4ee4(\u4e00\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/91536.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010Linux\u7cfb\u7edf\u7bc7\u3011Linux\u5165\u95e8\u57fa\u7840\u6307\u4ee4(\u4e00\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5728\u4e0a\u4e00\u7bc7\u6587\u7ae0\u4e2d&#xff0c;\u6211\u4eec\u5df2\u7ecf\u8c08\u8fc7Linux\u7684\u5386\u53f2\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u4e91\u670d\u52a1\u5668\u914d\u7f6eLinux\u73af\u5883\u548c\u4f7f\u7528Xshell\u6765\u4f7f\u7528Linux&#xff0c;\u90a3\u4e48\u6211\u4eec\u5728\u672c\u7bc7\u6587\u7ae0\u4e2d\u5c06\u8981\u5f00\u59cb\u5b66\u4e60Linux\u7684\u4e00\u4e9b\u57fa\u7840\u6307\u4ee4\u3002 \u76ee\u5f55 \u4e00\u3001\u5173\u4e8e\u56fe\u5f62\u5316\u754c\u9762 \u4e8c\u3001Linux\u6587\u4ef6\u4ee5\u53ca\u76ee\u5f55\u7ed3\u6784 2.1 \u600e\u4e48\u7406\u89e3\u6587\u4ef6 2.2 Linux\u7684\u6587\u4ef6\u7ed3\u6784 2.3 Linux\u7684\u76ee\u5f55\u7ed3\u6784 2.4 \u8def\u5f84 \u4e09\u3001\u7b80\u5355\u7684\u6307\u4ee4\u5b66\u4e60 3.1 pwd \u547d\u4ee4 3.2 ls\u6307\u4ee4 -l \u5217\u51fa\u6587\u4ef6\u7684\u8be6\u7ec6\u4fe1\u606f -a \u5217\u51fa\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/91536.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-07T15:16:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151615-6a75f6bfadb38.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/91536.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/91536.html\",\"name\":\"\u3010Linux\u7cfb\u7edf\u7bc7\u3011Linux\u5165\u95e8\u57fa\u7840\u6307\u4ee4(\u4e00\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-07T15:16:19+00:00\",\"dateModified\":\"2026-08-07T15:16:19+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/91536.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/91536.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/91536.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010Linux\u7cfb\u7edf\u7bc7\u3011Linux\u5165\u95e8\u57fa\u7840\u6307\u4ee4(\u4e00\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010Linux\u7cfb\u7edf\u7bc7\u3011Linux\u5165\u95e8\u57fa\u7840\u6307\u4ee4(\u4e00\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/91536.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010Linux\u7cfb\u7edf\u7bc7\u3011Linux\u5165\u95e8\u57fa\u7840\u6307\u4ee4(\u4e00\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5728\u4e0a\u4e00\u7bc7\u6587\u7ae0\u4e2d&#xff0c;\u6211\u4eec\u5df2\u7ecf\u8c08\u8fc7Linux\u7684\u5386\u53f2\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u4e91\u670d\u52a1\u5668\u914d\u7f6eLinux\u73af\u5883\u548c\u4f7f\u7528Xshell\u6765\u4f7f\u7528Linux&#xff0c;\u90a3\u4e48\u6211\u4eec\u5728\u672c\u7bc7\u6587\u7ae0\u4e2d\u5c06\u8981\u5f00\u59cb\u5b66\u4e60Linux\u7684\u4e00\u4e9b\u57fa\u7840\u6307\u4ee4\u3002 \u76ee\u5f55 \u4e00\u3001\u5173\u4e8e\u56fe\u5f62\u5316\u754c\u9762 \u4e8c\u3001Linux\u6587\u4ef6\u4ee5\u53ca\u76ee\u5f55\u7ed3\u6784 2.1 \u600e\u4e48\u7406\u89e3\u6587\u4ef6 2.2 Linux\u7684\u6587\u4ef6\u7ed3\u6784 2.3 Linux\u7684\u76ee\u5f55\u7ed3\u6784 2.4 \u8def\u5f84 \u4e09\u3001\u7b80\u5355\u7684\u6307\u4ee4\u5b66\u4e60 3.1 pwd \u547d\u4ee4 3.2 ls\u6307\u4ee4 -l \u5217\u51fa\u6587\u4ef6\u7684\u8be6\u7ec6\u4fe1\u606f -a \u5217\u51fa","og_url":"https:\/\/www.wsisp.com\/helps\/91536.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-07T15:16:19+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807151615-6a75f6bfadb38.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/91536.html","url":"https:\/\/www.wsisp.com\/helps\/91536.html","name":"\u3010Linux\u7cfb\u7edf\u7bc7\u3011Linux\u5165\u95e8\u57fa\u7840\u6307\u4ee4(\u4e00\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-07T15:16:19+00:00","dateModified":"2026-08-07T15:16:19+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/91536.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/91536.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/91536.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010Linux\u7cfb\u7edf\u7bc7\u3011Linux\u5165\u95e8\u57fa\u7840\u6307\u4ee4(\u4e00\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/91536","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=91536"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/91536\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/91516"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=91536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=91536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=91536"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=91536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}