{"id":39207,"date":"2025-05-22T20:47:07","date_gmt":"2025-05-22T12:47:07","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/39207.html"},"modified":"2025-05-22T20:47:07","modified_gmt":"2025-05-22T12:47:07","slug":"%e5%9b%be%e7%bb%98linux%ef%bc%9a%e5%9f%ba%e7%a1%80%e6%8c%87%e4%bb%a4%e8%84%89%e7%bb%9c%e9%98%81","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/39207.html","title":{"rendered":"\u56fe\u7ed8Linux\uff1a\u57fa\u7840\u6307\u4ee4\u8109\u7edc\u9601"},"content":{"rendered":"<p id=\"main-toc\">\u76ee\u5f55<\/p>\n<p id=\"-toc\" style=\"margin-left:0px\">\n<p id=\"Linux%E5%91%BD%E4%BB%A4%E8%A1%8C%E4%BB%8B%E7%BB%8D-toc\" style=\"margin-left:0px\">Linux\u547d\u4ee4\u884c\u4ecb\u7ecd<\/p>\n<p id=\"%E7%9B%AE%E5%BD%95%E6%93%8D%E4%BD%9C-toc\" style=\"margin-left:0px\">\u76ee\u5f55\u64cd\u4f5c<\/p>\n<p id=\"ls%20%E7%9B%AE%E5%BD%95%E6%89%80%E5%90%AB%E6%96%87%E4%BB%B6%E4%BF%A1%E6%81%AF-toc\" style=\"margin-left:40px\">ls \u76ee\u5f55\u6240\u542b\u6587\u4ef6\u4fe1\u606f<\/p>\n<p id=\"ls%20%E5%B8%B8%E7%94%A8%E9%80%89%E9%A1%B9-toc\" style=\"margin-left:80px\">ls \u5e38\u7528\u9009\u9879<\/p>\n<p id=\"pwd%20%E5%9C%A8%E9%82%A3%E4%B8%AA%E7%9B%AE%E5%BD%95%E4%B8%8B-toc\" style=\"margin-left:40px\">pwd \u5728\u90a3\u4e2a\u76ee\u5f55\u4e0b<\/p>\n<p id=\"cd%20%E8%BF%9B%E5%85%A5%E7%9B%AE%E5%BD%95-toc\" style=\"margin-left:40px\">cd \u8fdb\u5165\u76ee\u5f55<\/p>\n<p id=\"%C2%A0mkdir%20%E5%88%9B%E5%BB%BA%E7%9B%AE%E5%BD%95%C2%A0-toc\" style=\"margin-left:40px\">\u00a0mkdir \u521b\u5efa\u76ee\u5f55\u00a0<\/p>\n<p id=\"%C2%A0%E6%96%87%E4%BB%B6%E6%93%8D%E4%BD%9C-toc\" style=\"margin-left:0px\">\u00a0\u6587\u4ef6\u64cd\u4f5c<\/p>\n<p id=\"touch%20%E5%88%9B%E5%BB%BA%E6%99%AE%E9%80%9A%E6%96%87%E4%BB%B6-toc\" style=\"margin-left:40px\">touch \u521b\u5efa\u666e\u901a\u6587\u4ef6<\/p>\n<p id=\"echo%E5%90%91%E6%96%87%E4%BB%B6%E5%86%99%E5%85%A5-toc\" style=\"margin-left:40px\">echo\u5411\u6587\u4ef6\u5199\u5165<\/p>\n<p id=\"cat%20%E8%BE%93%E5%87%BA%E6%96%87%E4%BB%B6%E5%86%85%E5%AE%B9-toc\" style=\"margin-left:40px\">cat \u8f93\u51fa\u6587\u4ef6\u5185\u5bb9<\/p>\n<p id=\"cp%20%E6%8B%B7%E8%B4%9D%E6%96%87%E4%BB%B6%2F%E7%9B%AE%E5%BD%95-toc\" style=\"margin-left:40px\">cp \u62f7\u8d1d\u6587\u4ef6\/\u76ee\u5f55<\/p>\n<p id=\"mv%E5%89%AA%E5%88%87%2B%E9%87%8D%E5%91%BD%E5%90%8D-toc\" style=\"margin-left:40px\">mv\u526a\u5207&#043;\u91cd\u547d\u540d<\/p>\n<p id=\"rm%20%E5%88%A0%E9%99%A4%E6%96%87%E4%BB%B6%2F%E7%9B%AE%E5%BD%95-toc\" style=\"margin-left:0px\">rm \u5220\u9664\u6587\u4ef6\/\u76ee\u5f55<\/p>\n<p id=\"%E6%9F%A5%E6%89%BE-toc\" style=\"margin-left:0px\">\u67e5\u627e<\/p>\n<p id=\"*%20%E5%8C%B9%E9%85%8D%E7%AC%A6-toc\" style=\"margin-left:40px\">* \u5339\u914d\u7b26<\/p>\n<p id=\"man%20%E6%9F%A5%E6%89%BE%E6%8C%87%E4%BB%A4-toc\" style=\"margin-left:40px\">man \u67e5\u627e\u6307\u4ee4<\/p>\n<p id=\"which%E6%9F%A5%E6%8C%87%E4%BB%A4-toc\" style=\"margin-left:40px\">which\u67e5\u6307\u4ee4<\/p>\n<p id=\"whereis%E6%9F%A5%E6%8C%87%E4%BB%A4-toc\" style=\"margin-left:40px\">whereis\u67e5\u6307\u4ee4<\/p>\n<p id=\"find%E6%9F%A5%E6%96%87%E4%BB%B6-toc\" style=\"margin-left:40px\">find\u67e5\u6587\u4ef6<\/p>\n<p id=\"%E6%B5%8F%E8%A7%88%E6%96%87%E4%BB%B6-toc\" style=\"margin-left:0px\">\u6d4f\u89c8\u6587\u4ef6<\/p>\n<p id=\"more%E6%B5%8F%E8%A7%88%E5%A4%A7%E6%96%87%E6%9C%AC-toc\" style=\"margin-left:40px\">more\u6d4f\u89c8\u5927\u6587\u672c<\/p>\n<p id=\"less%E6%B5%8F%E8%A7%88%E5%A4%A7%E6%96%87%E6%9C%AC-toc\" style=\"margin-left:40px\">less\u6d4f\u89c8\u5927\u6587\u672c<\/p>\n<p id=\"head%E8%AF%BB%E5%8F%96%E6%96%87%E4%BB%B6%E5%A4%B4-toc\" style=\"margin-left:40px\">head\u8bfb\u53d6\u6587\u4ef6\u5934<\/p>\n<p id=\"less%E8%AF%BB%E5%8F%96%E6%96%87%E4%BB%B6%E5%B0%BE-toc\" style=\"margin-left:40px\">less\u8bfb\u53d6\u6587\u4ef6\u5c3e<\/p>\n<p id=\"head%E5%92%8Ctail%E9%80%9A%E5%B8%B8%E4%B8%8E%E7%AE%A1%E9%81%93%E4%B8%80%E8%B5%B7%E4%BD%BF%E7%94%A8-toc\" style=\"margin-left:40px\">head\u548ctail\u901a\u5e38\u4e0e\u7ba1\u9053\u4e00\u8d77\u4f7f\u7528<\/p>\n<p id=\"grep%E8%A1%8C%E6%96%87%E6%9C%AC%E8%BF%87%E6%BB%A4%E5%99%A8-toc\" style=\"margin-left:40px\">grep\u884c\u6587\u672c\u8fc7\u6ee4\u5668<\/p>\n<p id=\"%C2%A0%E6%89%93%E5%8C%85%E5%92%8C%E5%8E%8B%E7%BC%A9-toc\" style=\"margin-left:0px\">\u00a0\u6253\u5305\u548c\u538b\u7f29<\/p>\n<p id=\"zip%E5%92%8Cunzip-toc\" style=\"margin-left:40px\">zip\u548cunzip<\/p>\n<p id=\"tar%E6%8C%87%E4%BB%A4-toc\" style=\"margin-left:40px\">tar\u6307\u4ee4<\/p>\n<p id=\"Linux%E7%B3%BB%E7%BB%9F%E6%8C%87%E4%BB%A4-toc\" style=\"margin-left:0px\">Linux\u7cfb\u7edf\u6307\u4ee4<\/p>\n<p id=\"whoami%E6%98%BE%E7%A4%BA%E7%94%A8%E6%88%B7%E5%90%8D-toc\" style=\"margin-left:40px\">whoami\u663e\u793a\u7528\u6237\u540d<\/p>\n<p id=\"umame%E8%8E%B7%E5%8F%96%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E7%9B%B8%E5%85%B3%E4%BF%A1%E6%81%AF-toc\" style=\"margin-left:40px\">umame\u83b7\u53d6\u64cd\u4f5c\u7cfb\u7edf\u76f8\u5173\u4fe1\u606f<\/p>\n<p id=\"alias%E5%AF%B9%E6%8C%87%E4%BB%A4%E6%94%B9%E5%90%8D-toc\" style=\"margin-left:40px\">alias\u5bf9\u6307\u4ee4\u6539\u540d<\/p>\n<p id=\"history%E5%8E%86%E5%8F%B2%E5%91%BD%E4%BB%A4%E5%88%97%E8%A1%A8%C2%A0-toc\" style=\"margin-left:40px\">history\u5386\u53f2\u547d\u4ee4\u5217\u8868\u00a0<\/p>\n<p id=\"Linux%E7%B3%BB%E7%BB%9F%E7%83%AD%E9%94%AE-toc\" style=\"margin-left:0px\">Linux\u7cfb\u7edf\u70ed\u952e<\/p>\n<p id=\"ctrl%2Bc%E4%B8%AD%E6%AD%A2%E7%A8%8B%E5%BA%8F-toc\" style=\"margin-left:40px\">ctrl&#043;c\u4e2d\u6b62\u7a0b\u5e8f<\/p>\n<p id=\"ctrl%2Br%E6%9F%A5%E5%8E%86%E5%8F%B2%E6%8C%87%E4%BB%A4-toc\" style=\"margin-left:40px\">ctrl&#043;r\u67e5\u5386\u53f2\u6307\u4ee4<\/p>\n<p id=\"Tab%E8%87%AA%E5%8A%A8%E8%A1%A5%E5%85%A8-toc\" style=\"margin-left:40px\">Tab\u81ea\u52a8\u8865\u5168<\/p>\n<p id=\"ctrl%2Bd%E5%85%B3%E9%97%ADshell-toc\" style=\"margin-left:40px\">ctrl&#043;d\u5173\u95edshell<\/p>\n<hr id=\"hr-toc\" \/>\n<p style=\"text-align:center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124702-682f1cc60637c.png\" \/><\/p>\n<h2 id=\"Linux%E5%91%BD%E4%BB%A4%E8%A1%8C%E4%BB%8B%E7%BB%8D\" style=\"background-color:transparent;text-align:center\">Linux\u547d\u4ee4\u884c\u4ecb\u7ecd<\/h2>\n<p>Linux\u547d\u4ee4\u884c\u5305\u542b\u56db\u4e2a\u90e8\u5206&#xff1a;\u7528\u6237\u540d&#xff0c;\u4e3b\u673a\u540d&#xff0c;\u5f53\u524d\u6240\u5728\u76ee\u5f55&#xff0c;\u547d\u4ee4\u884c\u63d0\u793a\u7b26&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"264\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124703-682f1cc77ad6e.png\" width=\"1053\" \/><\/p>\n<p>\u5173\u4e8e\u547d\u4ee4\u884c\u63d0\u793a\u7b26&#xff1a;root\u8d26\u53f7\u548c\u666e\u901a\u8d26\u53f7\u662f\u4e0d\u4e00\u6837\u7684&#xff0c;root\u662f#&#xff0c;\u800c\u666e\u901a\u7528\u6237\u662f$&#xff1b;\u00a0<\/p>\n<h2 id=\"%E7%9B%AE%E5%BD%95%E6%93%8D%E4%BD%9C\" style=\"background-color:transparent;text-align:center\">\u76ee\u5f55\u64cd\u4f5c<\/h2>\n<p style=\"text-align:center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124703-682f1cc79f9d8.png\" \/><\/p>\n<p>Linux\u4e0b\u4e00\u5207\u7686\u6587\u4ef6&#xff0c;\u6bcf\u4e2a\u6587\u4ef6\u5305\u542b\u4e24\u4e2a\u4fe1\u606f&#xff1a;\u6587\u4ef6\u5c5e\u6027&#043;\u6587\u4ef6\u5185\u5bb9<\/p>\n<h3 id=\"ls%20%E7%9B%AE%E5%BD%95%E6%89%80%E5%90%AB%E6%96%87%E4%BB%B6%E4%BF%A1%E6%81%AF\" style=\"background-color:transparent\">ls \u76ee\u5f55\u6240\u542b\u6587\u4ef6\u4fe1\u606f<\/h3>\n<p><span style=\"background-color:#ffd900\">ls&#043;[\u9009\u9879]&#043;\u76ee\u5f55<\/span>&#xff1a;\u663e\u793a\u76ee\u5f55\u6240\u5305\u542b\u7684\u6587\u4ef6&#xff0c;\u5f53\u4e0d\u52a0\u76ee\u5f55\u9ed8\u8ba4\u663e\u793a\u5f53\u524d\u76ee\u5f55\u4fe1\u606f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"102\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124703-682f1cc7ce718.png\" width=\"909\" \/><\/p>\n<p>\u5f53\u6211\u4eec\u7b2c\u4e00\u6b21\u4ee5\u666e\u901a\u7528\u6237\u8fdb\u884c\u4e91\u670d\u52a1\u5668\u7684\u65f6\u5019&#xff0c;\u4f7f\u7528ls\u597d\u50cf\u6ca1\u6709\u4efb\u4f55\u53cd\u5e94&#xff0c;\u56e0\u4e3a\u5f53\u524d\u76ee\u5f55\u4e0b\u6ca1\u6709\u6587\u4ef6\u6240\u4ee5\u6ca1\u6709\u4efb\u4f55\u663e\u793a\u3002\u901a\u8fc7mkdir&#043;\u76ee\u5f55\u540d\u5b9e\u73b0\u5bf9\u76ee\u5f55\u7684\u521b\u5efa\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"166\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124703-682f1cc7ded31.png\" width=\"1051\" \/><\/p>\n<h4 id=\"ls%20%E5%B8%B8%E7%94%A8%E9%80%89%E9%A1%B9\" style=\"background-color:transparent\">ls \u5e38\u7528\u9009\u9879<\/h4>\n<p>ls\u6709\u591a\u79cd\u4e0d\u540c\u7684\u9009\u9879&#xff0c;\u5bf9\u4e8e\u9009\u9879\u53ef\u4ee5\u53e0\u52a0\u4f7f\u7528\u3002<\/p>\n<p><span style=\"background-color:#ffd900\">-l : <\/span>\u663e\u793a\u6587\u4ef6\u8be6\u7ec6\u4fe1\u606f&#xff1a;\u663e\u793a\u66f4\u591a\u7684\u6587\u4ef6\u5c5e\u6027(\u6587\u4ef6\u7684\u62e5\u6709\u8005&#xff0c;\u6240\u5c5e\u7ec4&#xff0c;\u5927\u5c0f&#xff0c;\u6587\u4ef6\u6700\u8fd1\u66f4\u65b0\u65f6\u95f4&#8230;.)&#xff1b;<\/p>\n<p><span style=\"background-color:#ffd900\">ls -l \u53ef\u4ee5\u7b80\u5199\u4e3all \u3002<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"172\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124704-682f1cc807adf.png\" width=\"1030\" \/><\/p>\n<p><span style=\"background-color:#ffd900\">-a: <\/span>\u663e\u793a\u9690\u85cf\u6587\u4ef6&#xff0c;\u4e0ewindows\u4e00\u6837Linux\u4e0b\u4e5f\u5305\u542b\u9690\u85cf\u6587\u4ef6\u00a0&#xff1b;Linux\u7684\u9690\u85cf\u6587\u4ef6\u662f\u4ee5 .\u5f00\u5934\u7684\u6587\u4ef6\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"271\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124704-682f1cc825537.png\" width=\"1018\" \/><\/p>\n<p>\u5728\u9690\u85cf\u6587\u4ef6\u4e2d\u542b\u6709\u4e24\u4e2a\u7279\u6b8a\u7684\u6587\u4ef6 .\u6587\u4ef6 \u548c .. \u6587\u4ef6&#xff1b;<span style=\"background-color:#a2e043\">\u5176\u4e2d. \u6587\u4ef6\u5c31\u6307\u7684\u662f\u5f53\u524d\u6587\u4ef6&#xff0c;\u800c.. \u6587\u4ef6\u6307\u7684\u662f\u4e0a\u4e00\u7ea7\u6587\u4ef6\u3002 \u901a\u8fc7 .\u6587\u4ef6\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u6267\u884c\u5f53\u524d\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6&#xff0c;\u901a\u8fc7 ..\u6587\u4ef6\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u8bbf\u95ee\u4e0a\u4e00\u7ea7\u6587\u4ef6\u3002<\/span><\/p>\n<p><span style=\"background-color:#ffd900\">\u00a0-d: <\/span>\u663e\u793a\u6307\u5b9a\u76ee\u5f55\u7684\u6587\u4ef6\u4fe1\u606f&#xff0c;\u800c\u4e0d\u662f\u6587\u4ef6\u5185\u5bb9&#xff0c;\u901a\u5e38\u642d\u914d-l\u8fdb\u884c\u4f7f\u7528&#8212;&#8212;-&gt;\u663e\u793a\u6307\u5b9a\u6587\u4ef6\u5c5e\u6027\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"74\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124704-682f1cc83fffa.png\" width=\"1039\" \/><\/p>\n<hr \/>\n<h3 id=\"pwd%20%E5%9C%A8%E9%82%A3%E4%B8%AA%E7%9B%AE%E5%BD%95%E4%B8%8B\">pwd \u5728\u90a3\u4e2a\u76ee\u5f55\u4e0b<\/h3>\n<p><span style=\"background-color:#ffd900\">pwd: <\/span>\u7528\u4e8e\u663e\u793a\u5f53\u524d\u6240\u5904\u7684\u76ee\u5f55\u540d\u79f0\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"70\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124704-682f1cc853811.png\" width=\"892\" \/><\/p>\n<p>Linux\u4f7f\u7528 \/ \u4f5c\u4e3a\u5206\u9694\u7b26&#xff0c;Windows\u4f7f\u7528 \\\\\u00a0\u4f5c\u4e3a\u5206\u9694\u7b26&#xff1b;<\/p>\n<hr \/>\n<h3 id=\"cd%20%E8%BF%9B%E5%85%A5%E7%9B%AE%E5%BD%95\">cd \u8fdb\u5165\u76ee\u5f55<\/h3>\n<p><span style=\"background-color:#ffd900\">cd &#043; \u76ee\u5f55\u540d\u79f0&#xff1a;<\/span>\u8868\u793a\u8fdb\u5165\u76ee\u5f55&#xff0c;\u8be5\u76ee\u5f55\u540d\u79f0\u53ef\u4ee5\u662f\u7edd\u5bf9\u8def\u5f84\u4e5f\u53ef\u4ee5\u662f\u76f8\u5bf9\u8def\u5f84\u3002<\/p>\n<table border=\"2\" cellpadding=\"3\" cellspacing=\"5\" style=\"width:650px\">\n<tbody><\/tbody>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"514\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124704-682f1cc862ee1.png\" width=\"1535\" \/><\/p>\n<p><span style=\"background-color:#ffd900\">\u7edd\u5bf9\u8def\u5f84&#xff1a;<\/span>cd \/home\/bit\/test.c\u00a0 \u00a0&#xff0c;\u7edd\u5bf9\u8def\u5f84\u670d\u4ece\u5bb6\u76ee\u5f55\u6216\u6839\u76ee\u5f55\u5f00\u59cb\u5b9a\u4f4d<\/p>\n<p><span style=\"background-color:#ffd900\">\u76f8\u5bf9\u8def\u5f84&#xff1a;<\/span>cd ..\/bin&#xff0c;\u4ecelib\u8fdb\u5165bin &#xff0c;\u76f8\u5bf9\u8def\u5f84\u662f\u4ece\u5f53\u524d\u6240\u5728\u8def\u5f84\u4e0b\u5f00\u59cb\u5b9a\u4f4d\u7684\u3002<\/p>\n<p><span style=\"background-color:#ffd900\">cd ..\u00a0<\/span> \u00a0\u8fdb\u5165\u4e0a\u4e00\u7ea7\u8def\u5f84<\/p>\n<p><span style=\"background-color:#ffd900\">cd ~\u00a0<\/span> \u00a0\u8fdb\u5165\u5bb6\u76ee\u5f55<\/p>\n<p><span style=\"background-color:#ffd900\">cd &#8211;\u00a0 <\/span>\u00a0 \u56de\u5230\u4e0a\u6b21\u6240\u5904\u7684\u76ee\u5f55\u4e0b<\/p>\n<hr \/>\n<h3 id=\"%C2%A0mkdir%20%E5%88%9B%E5%BB%BA%E7%9B%AE%E5%BD%95%C2%A0\">\u00a0mkdir \u521b\u5efa\u76ee\u5f55\u00a0<\/h3>\n<p><span style=\"background-color:#ffd900\">mkdir &#043; \u76ee\u5f55\u540d\u79f0<\/span>&#xff1a;\u5bf9\u76ee\u5f55\u8fdb\u884c\u521b\u5efa<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"207\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124704-682f1cc8993d4.png\" width=\"1071\" \/><\/p>\n<p>\u76ee\u5f55\u662f\u6811\u72b6\u7ed3\u6784\u7684&#xff0c;Linux\u4e0b\u6709\u4e00\u4e2a\u8f6f\u4ef6&#xff0c;\u53ef\u4ee5\u5c06\u76ee\u5f55\u7ed3\u6784\u8fdb\u884c\u53ef\u89c6\u5316&#xff0c;\u901a\u8fc7\u4e0b\u9762\u6307\u4ee4\u5c31\u53ef\u4ee5\u5b9e\u73b0\u5bf9tree\u8f6f\u4ef6\u7684\u5b89\u88c5&#xff0c;\u5173\u4e8eyum\u5b89\u88c5\u5728\u540e\u9762\u6709\u8be6\u7ec6\u4ecb\u7ecd\u3002<\/p>\n<p>yum install -y tree<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"352\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124704-682f1cc8b94b9.png\" width=\"792\" \/><span style=\"background-color:#ffd900\">\u00a0\u901a\u8fc7tree&#043;\u6587\u4ef6<\/span>\u5c31\u53ef\u4ee5\u5b9e\u73b0\u76ee\u5f55\u7ed3\u6784\u7684\u53ef\u89c6\u5316\u4e86\u3002<\/p>\n<p>\u5728Linux\u4e0b\u652f\u6301\u5bf9\u76ee\u5f55\u8fdb\u884c\u9012\u5f52\u521b\u5efa&#xff0c;\u5373\u76f4\u63a5\u521b\u5efaa1\/a2\/a3\/a4\/a5\u8fd9\u4e00\u4e32\u4e00\u5c42\u5c42\u7684\u76ee\u5f55\u3002<\/p>\n<p><span style=\"background-color:#ffd900\">mkdir -p &#043;\u00a0 \u4e00\u4e32\u8def\u5f84&#xff1a;<\/span>\u9012\u5f52\u521b\u5efa\u76ee\u5f55<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"555\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124704-682f1cc8d673b.png\" width=\"1341\" \/><\/p>\n<hr \/>\n<h2 id=\"%C2%A0%E6%96%87%E4%BB%B6%E6%93%8D%E4%BD%9C\" style=\"background-color:transparent\">\u00a0\u6587\u4ef6\u64cd\u4f5c<\/h2>\n<p style=\"text-align:center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124705-682f1cc91d287.png\" \/><\/p>\n<h3 id=\"touch%20%E5%88%9B%E5%BB%BA%E6%99%AE%E9%80%9A%E6%96%87%E4%BB%B6\">touch \u521b\u5efa\u666e\u901a\u6587\u4ef6<\/h3>\n<p>mkdir\u662f\u521b\u5efa\u76ee\u5f55\u7684&#xff0c;touch\u662f\u521b\u5efa\u666e\u901a\u6587\u4ef6\u7684&#xff0c;\u6bd4\u5982.c&#xff0c;.cpp\u6587\u4ef6\u7b49\u7b49&#8230;&#8230;<\/p>\n<p><span style=\"background-color:#ffd900\">touch &#043; \u6587\u4ef6\u540d<\/span>&#xff1a;\u521b\u5efa\u666e\u901a\u6587\u4ef6\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"344\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124705-682f1cc9544ab.png\" width=\"940\" \/><\/p>\n<hr \/>\n<h3 id=\"echo%E5%90%91%E6%96%87%E4%BB%B6%E5%86%99%E5%85%A5\">echo\u5411\u6587\u4ef6\u5199\u5165<\/h3>\n<p><span style=\"background-color:#ffd900\">echo&#043; \u5b57\u7b26\u4e32 &#xff1a;<\/span>\u5c06\u5b57\u7b26\u4e32\u8f93\u51fa\u5230\u663e\u793a\u5668(Linux\u4e0b\u4e00\u5207\u7686\u6587\u4ef6&#xff0c;\u663e\u793a\u5668\u4e5f\u88ab\u770b\u4f5c\u662f\u6587\u4ef6)\u4e0a&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"204\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124705-682f1cc973188.png\" width=\"950\" \/><\/p>\n<p>Linux\u4e2d\u5b58\u5728 &gt; \u8f93\u5165\u91cd\u5b9a\u5411&#xff0c;\u53ef\u4ee5\u5c06echo\u8f93\u51fa\u7684\u5185\u5bb9\u91cd\u5b9a\u5411\u5230\u5176\u4ed6\u6587\u4ef6\u4e2d\u53bb\u3002<\/p>\n<p><span style=\"background-color:#ffd900\">echo &#043;\u5b57\u7b26\u4e32 &gt; \u6587\u4ef6&#xff1a;<\/span>\u5b9e\u73b0\u5b57\u7b26\u4e32\u8f93\u51fa\u91cd\u5b9a\u5411\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"136\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124705-682f1cc9899de.png\" width=\"1153\" \/><\/p>\n<p><span style=\"background-color:#a2e043\">&gt;\u8f93\u51fa\u91cd\u5b9a\u5411\u4f1a\u5c06\u6587\u672c\u4e2d\u7684\u539f\u6709\u6570\u636e\u6e05\u7a7a\u518d\u8fdb\u884c\u5199\u5165<\/span><\/p>\n<p>Linux\u4e0b\u53c8\u5b58\u5728\u8ffd\u52a0\u91cd\u5b9a\u5411&gt;&gt;&#xff0c;\u53ef\u4ee5\u5728\u539f\u6587\u4ef6\u540e\u9762\u8fdb\u884c\u8ffd\u52a0&#xff0c;\u4e0d\u4f1a\u6e05\u7a7a\u539f\u6765\u6587\u4ef6\u7684\u5185\u5bb9\u3002<\/p>\n<p><span style=\"background-color:#ffd900\">echo &#043; \u5b57\u7b26\u4e32\u00a0 &gt;&gt; \u6587\u4ef6&#xff1a;<\/span>\u5b9e\u73b0\u5728\u6587\u672c\u4e2d\u8ffd\u52a0\u5b57\u7b26\u4e32\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"166\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124705-682f1cc9a1fd7.png\" width=\"1221\" \/><\/p>\n<hr \/>\n<h3 id=\"cat%20%E8%BE%93%E5%87%BA%E6%96%87%E4%BB%B6%E5%86%85%E5%AE%B9\" style=\"background-color:transparent\">cat \u8f93\u51fa\u6587\u4ef6\u5185\u5bb9<\/h3>\n<p><span style=\"background-color:#ffd900\">cat&#043; \u6587\u4ef6&#xff1a;<\/span>\u53ef\u4ee5\u5b9e\u73b0\u5c06\u6587\u4ef6\u5185\u5bb9\u8f93\u51fa\u5230\u663e\u793a\u5668\u4e0a\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"255\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124705-682f1cc9bd828.png\" width=\"1230\" \/><\/p>\n<p><span style=\"background-color:#ffd900\">cat -n&#xff1a;<\/span>\u8f93\u51fa\u6587\u4ef6\u5185\u5bb9\u5e76\u7f16\u53f7<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"538\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124705-682f1cc9e221d.png\" width=\"1145\" \/><\/p>\n<p><span style=\"background-color:#ffd900\">cat -b&#xff1a;<\/span>\u8f93\u51fa\u6587\u4ef6\u5185\u5bb9&#xff0c;\u5bf9\u975e\u7a7a\u884c\u8fdb\u884c\u7f16\u53f7&#xff1b;\u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"493\" src=\"2025-05-22udkgog0c0qw.png\" width=\"1029\" \/><\/p>\n<p><span style=\"background-color:#ffd900\">cat -s&#xff1a;<\/span>\u5bf9\u591a\u4e2a\u8fde\u7eed\u7a7a\u884c\u53ea\u8f93\u51fa\u4e00\u884c\u7a7a\u884c&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"416\" src=\"2025-05-22cyv0smcuh4t.png\" width=\"940\" \/><\/p>\n<p>\u00a0<\/p>\n<hr \/>\n<h3 id=\"cp%20%E6%8B%B7%E8%B4%9D%E6%96%87%E4%BB%B6%2F%E7%9B%AE%E5%BD%95\">cp \u62f7\u8d1d\u6587\u4ef6\/\u76ee\u5f55<\/h3>\n<p>Linux\u4e5f\u53ef\u4ee5\u5411Windows\u4e00\u6837\u8fdb\u884c\u62f7\u8d1d\u64cd\u4f5c\u3002<\/p>\n<p><span style=\"background-color:#ffd900\">cp &#043; \u6e90\u6587\u4ef6\/\u76ee\u5f55\u00a0 &#043;\u00a0 \u76ee\u6807\u6587\u4ef6\/\u76ee\u5f55&#xff1a;<\/span>\u5bf9\u6587\u4ef6\u8fdb\u884c\u62f7\u8d1d\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"182\" src=\"2025-05-222wq0rofulja.png\" width=\"978\" \/><\/p>\n<p>\u5728\u8fdb\u884c\u62f7\u8d1d\u7684\u662f\u5426\u53c8\u662f\u76ee\u6807\u6587\u4ef6\u4e0d\u5b58\u5728&#xff0c;\u64cd\u4f5c\u7cfb\u7edf\u4f1a\u8fdb\u884c\u8be2\u95ee\u662f\u5426\u8981\u8fdb\u884c\u62f7\u8d1d&#xff0c;\u53ef\u4ee5\u4f7f\u7528-f\u9009\u9879\u8fdb\u884c\u5f3a\u5236\u62f7\u8d1d\u3002<\/p>\n<p><span style=\"background-color:#ffd900\">cp &#043;\u00a0 -f \u6e90\u6587\u4ef6\/\u76ee\u5f55\u00a0 &#043;\u00a0 \u76ee\u6807\u6587\u4ef6\/\u76ee\u5f55&#xff1a;<\/span><span style=\"background-color:null\">\u8fdb\u884c\u5f3a\u5236\u62f7\u8d1d<\/span><\/p>\n<p>\u5982\u679c\u5728\u62f7\u8d1d\u524d\u5e0c\u671b\u64cd\u4f5c\u7cfb\u7edf\u8fdb\u884c\u8be2\u95ee\u662f\u5426\u8981\u62f7\u8d1d&#xff0c;\u53ef\u4ee5\u4f7f\u7528-i \u9009\u9879&#xff1b;<\/p>\n<p><span style=\"background-color:#ffd900\">cp &#043;\u00a0 -i\u00a0\u6e90\u6587\u4ef6\/\u76ee\u5f55\u00a0 &#043;\u00a0 \u76ee\u6807\u6587\u4ef6\/\u76ee\u5f55&#xff1a;<\/span><span style=\"background-color:null\">\u62f7\u8d1d\u524d\u8fdb\u884c\u8be2\u95ee<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"167\" src=\"2025-05-22pjuejegte4e.png\" width=\"1116\" \/>\u00a0cp\u662f\u4e0d\u80fd\u76f4\u63a5\u5bf9\u76ee\u5f55\u8fdb\u884c\u62f7\u8d1d\u7684&#xff0c;\u9700\u8981\u4f7f\u7528-r \u9009\u9879\u8fdb\u884c\u9012\u5f52\u62f7\u8d1d&#xff0c;\u8fdb\u800c\u5b9e\u73b0\u62f7\u8d1d\u76ee\u5f55&#xff1b;<\/p>\n<p><span style=\"background-color:#ffd900\">cp &#043;\u00a0 -r\u00a0\u76ee\u5f55\u00a0 &#043;\u00a0 \u76ee\u6807\u76ee\u5f55&#xff1a;<\/span><span style=\"background-color:null\">\u62f7\u8d1d\u76ee\u5f55\u6587\u4ef6\u3002<\/span><\/p>\n<hr \/>\n<h3 id=\"mv%E5%89%AA%E5%88%87%2B%E9%87%8D%E5%91%BD%E5%90%8D\">mv\u526a\u5207&#043;\u91cd\u547d\u540d<\/h3>\n<p>Linux\u4e5f\u6709\u81ea\u5df1\u7684\u526a\u5207\u6307\u4ee4\u3002<\/p>\n<p><span style=\"background-color:#ffd900\">mv &#043; \u6587\u4ef6 &#043;\u76ee\u5f55&#xff1a;<\/span>\u5c06\u6587\u4ef6\u526a\u5207\u5230\u5176\u4ed6\u76ee\u5f55\u4e0b&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"302\" src=\"2025-05-22rboypslfodg.png\" width=\"999\" \/><\/p>\n<p><span style=\"background-color:#ffd900\">mv &#043; \u6587\u4ef6\u540d &#043;\u65b0\u6587\u4ef6\u540d&#xff1a;<\/span>\u5bf9\u6587\u4ef6\u8fdb\u884c\u91cd\u547d\u540d&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"346\" src=\"2025-05-22wrwgo3hpt0l.png\" width=\"1193\" \/><\/p>\n<p>mv &#043; \u6587\u4ef6 &#043;\u8def\u5f84\/\u6587\u4ef6\u540d&#xff1a;\u5b9e\u73b0\u6587\u4ef6\u7684\u526a\u5207&#043;\u91cd\u547d\u540d\u3002\u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"694\" src=\"2025-05-22tswgcrtu2bf.png\" width=\"1215\" \/><\/p>\n<hr \/>\n<h2 id=\"rm%20%E5%88%A0%E9%99%A4%E6%96%87%E4%BB%B6%2F%E7%9B%AE%E5%BD%95\" style=\"background-color:transparent\">rm \u5220\u9664\u6587\u4ef6\/\u76ee\u5f55<\/h2>\n<p><span style=\"background-color:#ffd900\">rm&#043;\u6587\u4ef6&#xff1a;<\/span>\u5b9e\u73b0\u5bf9\u6587\u4ef6\u7684\u5220\u9664<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"116\" src=\"2025-05-22lg12rnns2rh.png\" width=\"935\" \/><\/p>\n<p>1) \u4f7f\u7528\u666e\u901a\u7528\u6237\u8fdb\u884c\u5220\u9664<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"140\" src=\"2025-05-22srcevg1xaz1.png\" width=\"972\" \/><\/p>\n<p>2) \u4f7f\u7528root\u8fdb\u884c\u5220\u9664<\/p>\n<p>\u4ee5\u4e0a\u4e24\u4e2a\u7528\u6237\u5728\u8fdb\u884c\u6587\u4ef6\u5220\u9664\u7684\u65f6\u5019&#xff0c;\u5bf9\u4e8eroot\u7528\u6237\u6765\u8bf4\u64cd\u4f5c\u7cfb\u7edf\u4f1a\u8be2\u95ee\u662f\u5426\u786e\u5b9a\u8981\u60ca\u559c\u5220\u9664&#xff0c;\u5982\u679c\u4e0d\u5e0c\u671b\u64cd\u4f5c\u7cfb\u7edf\u8fdb\u884c\u8be2\u95ee&#xff0c;\u53ef\u4ee5\u4f7f\u7528-f \u9009\u9879&#xff1b;<\/p>\n<p><span style=\"background-color:#ffd900\">rm -f &#043;\u6587\u4ef6&#xff1a;<\/span>\u5bf9\u6587\u4ef6\u8fdb\u884c\u5f3a\u5236\u5220\u9664<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"216\" src=\"2025-05-22hihdwfxtcko.png\" width=\"1059\" \/><\/p>\n<p><span style=\"background-color:#ffd900\">rm -r &#043;\u76ee\u5f55&#xff1a;<\/span>\u8fdb\u884c\u76ee\u5f55\u5220\u9664<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"176\" src=\"2025-05-22h2gbp4az4ev.png\" width=\"1051\" \/><\/p>\n<p>\u666e\u901a\u7528\u6237\u9ed8\u8ba4\u5220\u9664\u65f6\u4e0d\u4f1a\u8fdb\u884c\u8be2\u95ee&#xff0c;\u4f46\u662f\u5982\u679c\u5e0c\u671b\u64cd\u4f5c\u7cfb\u7edf\u5728\u8fdb\u884c\u5220\u9664\u4e4b\u524d\u8be2\u95ee&#xff0c;\u53ef\u4ee5\u4f7f\u7528-i\u9009\u9879&#xff1b;<\/p>\n<p><span style=\"background-color:#ffd900\">rm -i &#043;\u6587\u4ef6&#xff1a;<\/span>\u5728\u5220\u9664\u6587\u4ef6\u4e4b\u524d\u8fdb\u884c\u8be2\u95ee&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"132\" src=\"2025-05-22a53byiqsxir.png\" width=\"1148\" \/><\/p>\n<hr \/>\n<h2 id=\"%E6%9F%A5%E6%89%BE\" style=\"background-color:transparent\">\u67e5\u627e<\/h2>\n<p style=\"text-align:center\"><img decoding=\"async\" alt=\"\" src=\"2025-05-22datlxppeyuq.png\" \/><\/p>\n<h3 id=\"*%20%E5%8C%B9%E9%85%8D%E7%AC%A6\">* \u5339\u914d\u7b26<\/h3>\n<p>\u00a0\u00a0\u5f53\u4e00\u4e2a\u76ee\u5f55\u4e2d\u5b58\u5728\u5927\u91cf\u6587\u4ef6\u65f6&#xff0c;\u8fdb\u884c\u67e5\u627e\u5c31\u6bd4\u8f83\u8d39\u529b&#xff0c;\u4f7f\u7528*\u5339\u914d\u7b26\u53ef\u4ee5\u5b9e\u73b0\u5bf9\u6587\u4ef6\u7684\u7b5b\u9009\u3002<\/p>\n<p><span style=\"background-color:#ffd900\">ls *.c\u00a0 &#xff1a;<\/span>\u663e\u793a\u6240\u6709.c\u4e3a\u7ed3\u5c3e\u7684\u6587\u4ef6&#xff0c;<\/p>\n<p><span style=\"background-color:#ffd900\">ls test* &#xff1a;<\/span>\u663e\u793a\u6240\u6709\u4ee5test\u5f00\u5934\u7684\u6587\u4ef6<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"133\" src=\"2025-05-22qu1u4ok1uxe.png\" width=\"976\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"181\" src=\"2025-05-22ghjaoqza5oa.png\" width=\"1016\" \/><\/p>\n<hr \/>\n<h3 id=\"man%20%E6%9F%A5%E6%89%BE%E6%8C%87%E4%BB%A4\" style=\"background-color:transparent\">man \u67e5\u627e\u6307\u4ee4<\/h3>\n<p>Linux\u4e0b\u6709man\u624b\u518c\u5141\u8bb8\u7528\u6237\u8fdb\u884c\u547d\u4ee4&#xff0c;\u7cfb\u7edf\u8c03\u7528&#xff0c;\u5e93\u51fd\u6570\u7684\u67e5\u627e\u3002<\/p>\n<p><span style=\"background-color:#ffd900\">man &#043;\u9009\u9879&#xff1a;<\/span>\u8fdb\u884c\u67e5\u627e&#xff0c;eg&#xff1a;man ls\u8fdb\u884c\u6307\u4ee4\/\u5e93\u51fd\u6570\u7684\u67e5\u627e<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"149\" src=\"2025-05-22fht0pmhpp0z.png\" width=\"990\" \/><\/p>\n<p>man\u624b\u518c\u9ed8\u8ba4\u65f6\u82f1\u6587\u7684&#xff0c;\u53ef\u4ee5\u901a\u8fc7\u4e00\u4e0b\u6307\u4ee4\u5b89\u88c5\u4e2d\u6587man\u624b\u518c&#xff0c;\u5173\u4e8eman\u624b\u518c\u7684\u6c49\u5316&#xff0c;\u53ef\u4ee5\u95ee\u4e0bAI&#xff0c;\u64cd\u4f5c\u4e5f\u4e0d\u96be\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"346\" src=\"2025-05-22ze0opt4qwg0.png\" width=\"1211\" \/><\/p>\n<p>\u5728man\u624b\u518c\u4e2d\u6709\u591a\u4e2a\u4e0d\u540c\u7684\u533a\u6bb5\u5b58\u50a8\u4e0d\u540c\u7c7b\u578b\u7684\u4fe1\u606f&#xff0c;man\u5728\u67e5\u627e\u65f6\u9ed8\u8ba4\u65f6\u4ece\u533a\u6bb51\u4e00\u76f4\u5411\u540e\u627e&#xff0c;\u627e\u5230\u540e\u505c\u6b62&#xff1b;\u901a\u8fc7\u5bf9man\u624b\u518c\u589e\u6dfb\u9009\u9879\u53ef\u4ee5\u5b9e\u73b0\u5728\u6307\u5b9a\u533a\u6bb5\u4e2d\u67e5\u627e\u3002<\/p>\n<p><span style=\"background-color:#ffd900\">man -num &#043; \u6307\u4ee4&#xff1a;<\/span>\u5728\u6307\u5b9a\u533a\u6bb5\u4e2d\u67e5\u627e<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"166\" src=\"2025-05-223ac3buq5i3x.png\" width=\"1241\" \/><\/p>\n<p>\u5728Linux\u4e0b&#xff0c;printf\u5373\u4f7fLinux\u7684\u4e00\u6761\u57fa\u672c\u7684\u6307\u4ee4&#xff0c;\u53c8\u662fC\u8bed\u8a00\u7684\u4e00\u4e2a\u6210\u5458\u51fd\u6570&#xff0c;\u6240\u4ee5\u76f4\u63a5\u4f7f\u7528man printf\u5728\u533a\u6bb51\u4e2d\u627e\u5230printf\u6307\u4ee4\u5c31\u505c\u6b62\u4e86&#xff0c;\u4e0d\u4f1a\u627e3\u4e2d\u7684C\u8bed\u8a00\u51fd\u6570&#xff0c;\u6240\u4ee5\u6b64\u5904\u6307\u5b9a\u533a\u6bb5\u8fdb\u884c\u67e5\u627e\u3002<\/p>\n<p>\u5728Linux\u4e2d\u5982\u679c\u4e00\u4e2a\u8bed\u53e5\u5728\u4e0d\u540c\u7684\u533a\u6bb5\u4e2d\u90fd\u5b58\u5728\u5c31\u53ef\u4ee5\u4f7f\u7528-a\u9009\u9879\u8ba9\u5176\u67e5\u627e\u5230\u540e\u7ee7\u7eed\u5411\u540e\u67e5\u627e&#xff1b;<\/p>\n<p><span style=\"background-color:#ffd900\">man -a &#043;\u8bed\u53e5&#xff1a;<\/span>\u5b9e\u73b0\u5728\u591a\u4e2a\u533a\u6bb5\u4e2d\u7684\u67e5\u627e\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"213\" src=\"2025-05-22lmaev44giav.png\" width=\"1417\" \/><\/p>\n<p>\u00a0Linux\u4e0b\u4e5f\u662f\u652f\u6301\u8054\u7f51\u67e5\u627e\u7684&#xff1b;<\/p>\n<p><span style=\"background-color:#ffd900\">man -k &#043; \u8bed\u53e5&#xff1a;<\/span>\u8fdb\u884c\u8054\u7f51\u67e5\u627e\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"199\" src=\"2025-05-223nxinfag5cg.png\" width=\"1804\" \/><\/p>\n<hr \/>\n<h3 id=\"which%E6%9F%A5%E6%8C%87%E4%BB%A4\" style=\"background-color:transparent\">which\u67e5\u6307\u4ee4<\/h3>\n<p>\u5728Linux\u4e2d\u6bcf\u4e00\u6761\u6307\u4ee4\u5b9e\u9645\u4e0a\u90fd\u662f\u4e00\u6761\u6761\u53ef\u6267\u884c\u7a0b\u5e8f&#xff0c;\u90a3\u4e48\u5bf9\u4e8e\u6bcf\u4e2a\u7a0b\u5e8f\u5fc5\u5b9a\u9700\u8981\u4f4d\u7f6e\u8fdb\u884c\u5b58\u653e&#xff0c;which\u6307\u4ee4\u5c31\u53ef\u4ee5\u5bf9\u6bcf\u6761\u6307\u4ee4\u6240\u5728\u4f4d\u7f6e\u8fdb\u884c\u67e5\u627e\u3002<\/p>\n<p><span style=\"background-color:#ffd900\">which&#043; \u6307\u4ee4&#xff1a;<\/span><span style=\"background-color:null\">\u5728\u6307\u5b9a\u8def\u5f84\u4e0b\/usr\/bin&#xff0c;<\/span>\u67e5\u627e\u6307\u4ee4\u6240\u5728\u4f4d\u7f6e&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"322\" src=\"2025-05-22523rjb5teif.png\" width=\"735\" \/><\/p>\n<h3 id=\"whereis%E6%9F%A5%E6%8C%87%E4%BB%A4\">whereis\u67e5\u6307\u4ee4<\/h3>\n<p>whereis\u4e5f\u662f\u5728\u7279\u5b9a\u8def\u5f84\u4e0b\u8fdb\u884c\u67e5\u627e\u7684&#xff0c;\u4e0ewhich\u76f8\u6bd4&#xff0c;whereis\u4e0d\u4ec5\u4f1a\u627e\u5230\u6307\u4ee4\u6240\u5728\u7684\u6587\u4ef6&#xff0c;\u8fd8\u4f1a\u627e\u5230\u8be5\u6307\u4ee4\u7684\u5b89\u88c5\u5305\u4ee5\u53ca\u5934\u6587\u4ef6\u3002<\/p>\n<p><span style=\"background-color:#ffd900\">whereis&#043; \u6307\u4ee4&#xff1a;<\/span>\u67e5\u627e\u6307\u4ee4\u6587\u4ef6&#xff0c;\u5b89\u88c5\u5305&#xff0c;\u5934\u6587\u4ef6\u4f4d\u7f6e&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"237\" src=\"2025-05-22d2i3refkqxf.png\" width=\"2058\" \/><\/p>\n<h3 id=\"find%E6%9F%A5%E6%96%87%E4%BB%B6\">find\u67e5\u6587\u4ef6<\/h3>\n<p>find\u7528\u4e8e\u67e5\u627e\u6587\u4ef6&#xff0c;\u5176\u662f\u5728\u78c1\u76d8\u4e2d\u8fdb\u884c\u67e5\u627e\u7684\u3002<\/p>\n<p><span style=\"background-color:#ffd900\">find &#043;\u00a0 \u6307\u5b9a\u8def\u5f84 &#043; -name\u00a0 &#043;\u8981\u67e5\u627e\u7684\u6587\u4ef6&#xff1a;<\/span>\u8fdb\u884c\u6587\u4ef6\u67e5\u627e&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"409\" src=\"2025-05-225oza0syyxbt.png\" width=\"978\" \/><\/p>\n<hr \/>\n<h2 id=\"%E6%B5%8F%E8%A7%88%E6%96%87%E4%BB%B6\" style=\"background-color:transparent;text-align:center\">\u6d4f\u89c8\u6587\u4ef6<\/h2>\n<p style=\"text-align:center\"><img decoding=\"async\" alt=\"\" src=\"2025-05-221c2m5qxyqes.png\" \/><\/p>\n<p>cat\u80fd\u591f\u76f4\u63a5\u5c06\u6587\u672c\u7684\u6240\u6709\u5185\u5bb9\u90fd\u6253\u5370\u5230\u663e\u793a\u5668\u4e0a&#xff0c;\u4f46\u662f\u5f53\u4e00\u4e2a\u6587\u672c\u5f88\u5927\u6709\u4e00\u4e07\u591a\u884c\u7684\u65f6\u5019&#xff0c;\u76f4\u63a5\u5c06\u5176\u6253\u5370\u51fa\u6765\u5f80\u4e0a\u7ffb\u662f\u5f88\u9ebb\u70e6\u7684&#xff0c;\u6240\u4ee5\u6211\u4eec\u9700\u8981\u66f4\u591a\u6d4f\u89c8\u6587\u4ef6\u7684\u65b9\u6cd5\u6765\u5b9e\u73b0\u5bf9\u6587\u672c\u7684\u5b9a\u4f4d\u3002<\/p>\n<h3 id=\"more%E6%B5%8F%E8%A7%88%E5%A4%A7%E6%96%87%E6%9C%AC\">more\u6d4f\u89c8\u5927\u6587\u672c<\/h3>\n<p><span style=\"background-color:#ffd900\">more &#043; -\u884c &#043;\u6587\u4ef6&#xff1a;<\/span>\u53ef\u4ee5\u5b9e\u73b0\u4ece\u76f4\u63a5\u5b9a\u4f4d\u5230\u6539\u884c&#xff0c;\u4f7f\u7528enter\u53ef\u4ee5\u7ee7\u7eed\u5f80\u4e0b\u7ffb&#xff0c;\u4f46\u662f\u4e0d\u80fd\u5f80\u4e0a\u7ffb&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"443\" src=\"2025-05-22p0wth24fqwr.png\" width=\"1141\" \/><\/p>\n<h3 id=\"less%E6%B5%8F%E8%A7%88%E5%A4%A7%E6%96%87%E6%9C%AC\" style=\"background-color:transparent\">less\u6d4f\u89c8\u5927\u6587\u672c<\/h3>\n<p>less\u4e0emore\u4e0d\u540c&#xff0c;<span style=\"background-color:#ffd900\">less&#043;\u6587\u4ef6<\/span>\u53ef\u4ee5\u8fdb\u884c\u6d4f\u89c8\u6587\u4ef6&#xff0c;less\u8fd8\u652f\u6301\u6587\u4ef6\u67e5\u627e&#xff0c;\u80fd\u591f\u5411\u4e0a&#xff0c;\u5411\u4e0b\u7ffb\u627e\u3002<\/p>\n<p>\u4e00\u822c\u66f4\u591a\u7684\u4f7f\u7528less&#xff0c;\u800c\u4e0d\u4f1a\u4f7f\u7528more&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"407\" src=\"2025-05-224zexnij45cy.png\" width=\"1141\" \/><\/p>\n<hr \/>\n<h3 id=\"head%E8%AF%BB%E5%8F%96%E6%96%87%E4%BB%B6%E5%A4%B4\" style=\"background-color:transparent\">head\u8bfb\u53d6\u6587\u4ef6\u5934<\/h3>\n<p><span style=\"background-color:#ffd900\">head -\u6570\u5b57 \u6587\u4ef6&#xff1a;<\/span>\u8bfb\u53d6\u6587\u4ef6\u7684\u524d\u51e0\u884c&#xff0c;\u6ca1\u7ed9\u5177\u4f53\u6570\u5b57\u9ed8\u8ba4\u662f10\u884c&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"557\" src=\"2025-05-22za5xf5etmao.png\" width=\"1330\" \/><\/p>\n<h3 id=\"less%E8%AF%BB%E5%8F%96%E6%96%87%E4%BB%B6%E5%B0%BE\">less\u8bfb\u53d6\u6587\u4ef6\u5c3e<\/h3>\n<p><span style=\"background-color:#ffd900\">less -\u6570\u5b57 \u6587\u4ef6&#xff1a;<\/span>\u8bfb\u53d6\u6587\u4ef6\u7684\u5c3e\u51e0\u884c&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"579\" src=\"2025-05-22ngwkjazc3x3.png\" width=\"1063\" \/><\/p>\n<h3 id=\"head%E5%92%8Ctail%E9%80%9A%E5%B8%B8%E4%B8%8E%E7%AE%A1%E9%81%93%E4%B8%80%E8%B5%B7%E4%BD%BF%E7%94%A8\" style=\"background-color:transparent\">head\u548ctail\u901a\u5e38\u4e0e\u7ba1\u9053\u4e00\u8d77\u4f7f\u7528<\/h3>\n<p><span style=\"background-color:#a2e043\">\u5728Linux\u4e0b\u652f\u6301\u6307\u4ee4\u4f9d\u6b21\u8fdb\u884c&#xff1a;\u6bd4\u5982head -1020 test | tail -20&#xff1b;\u8868\u793a\u5148\u5904\u7406test\u6587\u4ef6\u7684\u524d1020\u884c\u8f93\u51fa\u7ed9\u7ba1\u9053 | \u7684\u53e6\u4e00\u8fb9&#xff0c;\u5728\u8fdb\u884c\u6307\u4ee4tail -20&#xff0c;\u8fd9\u6837\u5c31\u662f\u5b9e\u73b0\u4e86\u6253\u5370\u7b2c1000-1020\u8fd9\u6bb5\u533a\u95f4\u7684\u5185\u5bb9\u3002<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"655\" src=\"2025-05-22c5ou3y0jvdn.png\" width=\"1267\" \/><\/p>\n<hr \/>\n<h3 id=\"grep%E8%A1%8C%E6%96%87%E6%9C%AC%E8%BF%87%E6%BB%A4%E5%99%A8\" style=\"background-color:transparent\">grep\u884c\u6587\u672c\u8fc7\u6ee4\u5668<\/h3>\n<p><span style=\"background-color:#ffd900\">grep &#043; \u8fc7\u6ee4\u5173\u952e\u5b57 &#043; \u6587\u4ef6&#xff1a;<\/span>\u4ec5\u6253\u5370\u5305\u542b\u5173\u952e\u5b57\u7684\u884c&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"711\" src=\"2025-05-221fn4b1hhclw.png\" width=\"1278\" \/><\/p>\n<p>-v\u9009\u9879\u53ef\u4ee5\u6253\u5370\u4e0d\u5305\u542b\u5173\u952e\u5b57\u7684\u5185\u5bb9&#xff1b;<\/p>\n<p><span style=\"background-color:#ffd900\">grep -v\u00a0&#043; \u8fc7\u6ee4\u5173\u952e\u5b57 &#043; \u6587\u4ef6&#xff1a;<\/span><span style=\"background-color:null\">\u6253\u5370\u4e0d\u5305\u542b\u5173\u952e\u5b57\u7684\u884c&#xff1b;<\/span><\/p>\n<p><span style=\"background-color:#ffd900\">grep -n\u00a0&#043; \u8fc7\u6ee4\u5173\u952e\u5b57 &#043; \u6587\u4ef6&#xff1a;<\/span><span style=\"background-color:null\">\u6253\u5370\u65f6&#xff0c;\u5e26\u4e0a\u539f\u6587\u4ef6\u5bf9\u5e94\u7684\u884c\u53f7&#xff1b;<\/span><\/p>\n<p><span style=\"background-color:#ffd900\">grep -i\u00a0&#043; \u8fc7\u6ee4\u5173\u952e\u5b57 &#043; \u6587\u4ef6&#xff1a;<\/span><span style=\"background-color:null\">\u8fc7\u6ee4\u65f6&#xff0c;\u90e8\u5206\u5927\u5c0f\u5199&#xff1b;<\/span><\/p>\n<p>grep\u540e\u9762\u53ef\u4ee5\u8ddf\u591a\u4e2a\u6587\u4ef6&#xff0c;\u901a\u8fc7-r\u9009\u9879\u4e5f\u53ef\u4ee5\u5b9e\u73b0\u5728\u76ee\u5f55\u6240\u542b\u6587\u4ef6\u4e2d\u67e5\u627e&#xff1b;<\/p>\n<p><span style=\"background-color:#ffd900\">grep -r &#043;\u76ee\u5f55&#xff1a;<\/span>\u5728\u76ee\u5f55\u6240\u542b\u6587\u4ef6\u4e2d\u8fdb\u884c\u67e5\u627e\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"676\" src=\"2025-05-22mr3yndpp5xu.png\" width=\"929\" \/><\/p>\n<\/p>\n<hr \/>\n<h2 id=\"%C2%A0%E6%89%93%E5%8C%85%E5%92%8C%E5%8E%8B%E7%BC%A9\" style=\"background-color:transparent\">\u00a0\u6253\u5305\u548c\u538b\u7f29<\/h2>\n<p style=\"text-align:center\"><img decoding=\"async\" alt=\"\" src=\"2025-05-22lgbprv5j0yv.png\" \/><\/p>\n<p>Linxu\u4e0b\u4e5f\u53ef\u4ee5\u5bf9\u6587\u4ef6\u8fdb\u884c\u6253\u5305\u548c\u538b\u7f29<\/p>\n<h3 id=\"zip%E5%92%8Cunzip\">zip\u548cunzip<\/h3>\n<p><span style=\"background-color:#ffd900\">zip &#043; \u6253\u5305\u540e\u540d\u79f0 &#043; \u6587\u4ef6&#xff1a;<\/span>\u5b9e\u73b0\u5bf9\u666e\u901a\u6587\u4ef6\u8fdb\u884c\u538b\u7f29&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"490\" src=\"2025-05-22nz5ufh4m3s3.png\" width=\"1204\" \/><\/p>\n<p><span style=\"background-color:#ffd900\">zip -r &#043;\u00a0\u6253\u5305\u540e\u540d\u79f0 &#043; \u76ee\u5f55&#xff1a;<\/span>\u5b9e\u73b0\u5bf9\u76ee\u5f55\u8fdb\u884c\u538b\u7f29&#xff1b;<\/p>\n<p><span style=\"background-color:#ffd900\">unzip &#043; \u538b\u7f29\u5305\u00a0-d &#043;\u76ee\u5f55&#xff1a;<\/span>\u5c06\u6587\u4ef6\u89e3\u538b\u5230\u6307\u5b9a\u76ee\u5f55&#xff1b;<\/p>\n<hr \/>\n<h3 id=\"tar%E6%8C%87%E4%BB%A4\">tar\u6307\u4ee4<\/h3>\n<p>Linux\u4e0b\u6253\u5305\u538b\u7f29\u7684\u65b9\u5f0f\u6709\u5f88\u591a\u79cd&#xff0c;\u6b64\u5904\u518d\u4ecb\u7ecd\u4e00\u79cdtar&#xff1b;<\/p>\n<p><span style=\"background-color:#ffd900\">tar -czf &#043;\u00a0\u6253\u5305\u540e\u540d\u79f0 &#043; \u76ee\u5f55\/\u666e\u901a\u6587\u4ef6&#xff1a;\u5b9e\u73b0\u5bf9\u6587\u4ef6\u8fdb\u884c\u538b\u7f29&#xff1b;<\/span><\/p>\n<p><span style=\"background-color:#ffd900\">tar -xzf &#043; \u538b\u7f29\u5305 -C\u00a0 &#043; \u76ee\u5f55&#xff1a;<\/span><span style=\"background-color:null\">\u89e3\u538b\u5230\u6307\u5b9a\u76ee\u5f55&#xff1b;<\/span><\/p>\n<\/p>\n<hr \/>\n<h2 id=\"Linux%E7%B3%BB%E7%BB%9F%E6%8C%87%E4%BB%A4\" style=\"background-color:transparent;text-align:center\">Linux\u7cfb\u7edf\u6307\u4ee4<\/h2>\n<p style=\"text-align:center\"><img decoding=\"async\" alt=\"\" src=\"2025-05-22ccg4awbdgrk.png\" \/><\/p>\n<h3 id=\"whoami%E6%98%BE%E7%A4%BA%E7%94%A8%E6%88%B7%E5%90%8D\" style=\"background-color:transparent\">whoami\u663e\u793a\u7528\u6237\u540d<\/h3>\n<p>\u663e\u793a\u5f53\u524d\u7528\u6237&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"133\" src=\"2025-05-22w5oizrwtufw.png\" width=\"741\" \/><\/p>\n<h3 id=\"umame%E8%8E%B7%E5%8F%96%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E7%9B%B8%E5%85%B3%E4%BF%A1%E6%81%AF\">umame\u83b7\u53d6\u64cd\u4f5c\u7cfb\u7edf\u76f8\u5173\u4fe1\u606f<\/h3>\n<p>uname\u6307\u4ee4&#xff1a;\u83b7\u53d6\u7535\u8111\u540d&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"146\" src=\"2025-05-22dluetel4uak.png\" width=\"841\" \/><\/p>\n<p><span style=\"background-color:#ffd900\">uname -a&#xff1a;<\/span>-a\u6216\u2013all \u8be6\u7ec6\u8f93\u51fa\u6240\u6709\u4fe1\u606f&#xff0c;\u4f9d\u6b21\u4e3a\u5185\u6838\u540d\u79f0&#xff0c;\u4e3b\u673a\u540d&#xff0c;\u5185\u6838\u7248\u672c\u53f7&#xff0c;\u5185\u6838\u7248\u672c&#xff0c;\u786c\u4ef6\u540d&#xff0c;\u5904\u7406\u5668\u7c7b\u578b&#xff0c;\u786c\u4ef6\u5e73\u53f0\u7c7b\u578b&#xff0c;\u64cd\u4f5c\u7cfb\u7edf\u540d\u79f0&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"342\" src=\"2025-05-22zcmu3d1twae.png\" width=\"1919\" \/><\/p>\n<p><span style=\"background-color:#ffd900\">uname -r&#xff1a;<\/span>\u4ec5\u8f93\u51fa\u5185\u6838\u7248\u672c\u53f7&#xff0c;\u4f53\u7cfb\u7ed3\u6784&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"220\" src=\"2025-05-22egjg3fn3p1o.png\" width=\"1041\" \/><\/p>\n<h3 id=\"alias%E5%AF%B9%E6%8C%87%E4%BB%A4%E6%94%B9%E5%90%8D\" style=\"background-color:transparent\">alias\u5bf9\u6307\u4ee4\u6539\u540d<\/h3>\n<p>\u5bf9\u6307\u4ee4\u8fdb\u884c\u91cd\u547d\u540d&#xff1b;\u4f46\u662f\u6ca1\u6709\u5199\u5165\u914d\u7f6e\u6587\u4ef6\u4e2d\u662f\u4e34\u65f6\u7684\u3002<\/p>\n<p><span style=\"background-color:#ffd900\">alias \u540d\u79f0 &#061; &#039;\u6307\u4ee4&#039;&#xff1a;<\/span>\u5bf9\u6307\u4ee4\u6539\u540d\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"607\" src=\"2025-05-22z1qcduzxijd.png\" width=\"1220\" \/><\/p>\n<h3 id=\"history%E5%8E%86%E5%8F%B2%E5%91%BD%E4%BB%A4%E5%88%97%E8%A1%A8%C2%A0\">history\u5386\u53f2\u547d\u4ee4\u5217\u8868\u00a0<\/h3>\n<p>history\u663e\u793a\u5386\u53f2\u547d\u4ee4\u5217\u8868&#xff0c;\u9ed8\u8ba4Linux\u8bb0\u5f55\u6700\u65b0\u76841000\u6761\u547d\u4ee4\u3002<\/p>\n<hr \/>\n<h2 id=\"Linux%E7%B3%BB%E7%BB%9F%E7%83%AD%E9%94%AE\" style=\"background-color:transparent;text-align:center\">Linux\u7cfb\u7edf\u70ed\u952e<\/h2>\n<p style=\"text-align:center\"><img decoding=\"async\" alt=\"\" src=\"2025-05-22zmydx1zgvxa.png\" \/><\/p>\n<h3 id=\"ctrl%2Bc%E4%B8%AD%E6%AD%A2%E7%A8%8B%E5%BA%8F\" style=\"background-color:transparent\">ctrl&#043;c\u4e2d\u6b62\u7a0b\u5e8f<\/h3>\n<p>\u7528\u4e8e\u7ec8\u6b62\u56e0\u4e3a\u7a0b\u5e8f\u6216\u6307\u4ee4\u5f02\u5e38(eg&#xff1a;\u6b7b\u5faa\u73af)&#xff0c;\u5bfc\u81f4\u65e0\u6cd5\u8fdb\u884c\u6307\u4ee4\u8f93\u51fa\u7684\u60c5\u51b5\u3002<\/p>\n<h3 id=\"ctrl%2Br%E6%9F%A5%E5%8E%86%E5%8F%B2%E6%8C%87%E4%BB%A4\">ctrl&#043;r\u67e5\u5386\u53f2\u6307\u4ee4<\/h3>\n<p>ctrl&#043;r\u540e\u8f93\u5165\u6307\u4ee4\u7684\u4e00\u90e8\u5206&#xff0c;\u5c31\u53ef\u4ee5\u770b\u5230\u4e4b\u524d\u8f93\u5165\u7684\u76f8\u5173\u547d\u4ee4\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"182\" src=\"2025-05-220i4v4oill3a.png\" width=\"1123\" \/><\/p>\n<h3 id=\"Tab%E8%87%AA%E5%8A%A8%E8%A1%A5%E5%85%A8\" style=\"background-color:transparent\">Tab\u81ea\u52a8\u8865\u5168<\/h3>\n<p>Tab\u53ef\u4ee5\u5bf9\u6307\u4ee4\u8fdb\u884c\u81ea\u52a8\u8865\u5168&#xff0c;\u8fde\u6309\u4e24\u6b21Tab\u53ef\u4ee5\u663e\u793a\u6240\u6709\u76f8\u5173\u6307\u4ee4&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"468\" src=\"2025-05-22fycejgj0et4.png\" width=\"2289\" \/><\/p>\n<p>\u8f93\u5165\u6307\u4ee4\u7684\u4e00\u90e8\u5206\u5c31\u53ef\u4ee5\u5b9e\u73b0\u81ea\u52a8\u4e0d\u5168&#xff1b;<\/p>\n<h3 id=\"ctrl%2Bd%E5%85%B3%E9%97%ADshell\" style=\"background-color:transparent\">ctrl&#043;d\u5173\u95edshell<\/h3>\n<p>ctrl&#043;d\u5173\u95edshell\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.6k\u6b21\uff0c\u70b9\u8d5e42\u6b21\uff0c\u6536\u85cf44\u6b21\u3002\u672c\u6587\u4ecb\u7ecd\u4e86Linux\u547d\u4ee4\u884c\u7684\u57fa\u672c\u64cd\u4f5c\u548c\u5e38\u7528\u6307\u4ee4\uff0c\u6db5\u76d6\u4e86\u76ee\u5f55\u64cd\u4f5c\u3001\u6253\u5305\u548c\u538b\u7f29\u65b9\u5f0f\uff0c\u5982\u4f55\u6d4f\u89c8\u5927\u6587\u672c\uff0c\u6587\u4ef6\u64cd\u4f5c\u3001\u67e5\u627e\u6307\u4ee4\u3001\u7cfb\u7edf\u6307\u4ee4\u4ee5\u53ca\u70ed\u952e\u4f7f\u7528\u3002\u8fd9\u4e9b\u547d\u4ee4\u548c\u64cd\u4f5c\u662fLinux\u7cfb\u7edf\u7ba1\u7406\u548c\u65e5\u5e38\u4f7f\u7528\u7684\u57fa\u7840\u3002<\/p>\n","protected":false},"author":2,"featured_media":39187,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[55,58,43,44,176],"topic":[],"class_list":["post-39207","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-c","tag-linux","tag-43","tag-44","tag-176"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u56fe\u7ed8Linux\uff1a\u57fa\u7840\u6307\u4ee4\u8109\u7edc\u9601 - \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\/39207.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u56fe\u7ed8Linux\uff1a\u57fa\u7840\u6307\u4ee4\u8109\u7edc\u9601 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.6k\u6b21\uff0c\u70b9\u8d5e42\u6b21\uff0c\u6536\u85cf44\u6b21\u3002\u672c\u6587\u4ecb\u7ecd\u4e86Linux\u547d\u4ee4\u884c\u7684\u57fa\u672c\u64cd\u4f5c\u548c\u5e38\u7528\u6307\u4ee4\uff0c\u6db5\u76d6\u4e86\u76ee\u5f55\u64cd\u4f5c\u3001\u6253\u5305\u548c\u538b\u7f29\u65b9\u5f0f\uff0c\u5982\u4f55\u6d4f\u89c8\u5927\u6587\u672c\uff0c\u6587\u4ef6\u64cd\u4f5c\u3001\u67e5\u627e\u6307\u4ee4\u3001\u7cfb\u7edf\u6307\u4ee4\u4ee5\u53ca\u70ed\u952e\u4f7f\u7528\u3002\u8fd9\u4e9b\u547d\u4ee4\u548c\u64cd\u4f5c\u662fLinux\u7cfb\u7edf\u7ba1\u7406\u548c\u65e5\u5e38\u4f7f\u7528\u7684\u57fa\u7840\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/39207.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-22T12:47:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124702-682f1cc60637c.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\/39207.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/39207.html\",\"name\":\"\u56fe\u7ed8Linux\uff1a\u57fa\u7840\u6307\u4ee4\u8109\u7edc\u9601 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-22T12:47:07+00:00\",\"dateModified\":\"2025-05-22T12:47:07+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/39207.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/39207.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/39207.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u56fe\u7ed8Linux\uff1a\u57fa\u7840\u6307\u4ee4\u8109\u7edc\u9601\"}]},{\"@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":"\u56fe\u7ed8Linux\uff1a\u57fa\u7840\u6307\u4ee4\u8109\u7edc\u9601 - \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\/39207.html","og_locale":"zh_CN","og_type":"article","og_title":"\u56fe\u7ed8Linux\uff1a\u57fa\u7840\u6307\u4ee4\u8109\u7edc\u9601 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.6k\u6b21\uff0c\u70b9\u8d5e42\u6b21\uff0c\u6536\u85cf44\u6b21\u3002\u672c\u6587\u4ecb\u7ecd\u4e86Linux\u547d\u4ee4\u884c\u7684\u57fa\u672c\u64cd\u4f5c\u548c\u5e38\u7528\u6307\u4ee4\uff0c\u6db5\u76d6\u4e86\u76ee\u5f55\u64cd\u4f5c\u3001\u6253\u5305\u548c\u538b\u7f29\u65b9\u5f0f\uff0c\u5982\u4f55\u6d4f\u89c8\u5927\u6587\u672c\uff0c\u6587\u4ef6\u64cd\u4f5c\u3001\u67e5\u627e\u6307\u4ee4\u3001\u7cfb\u7edf\u6307\u4ee4\u4ee5\u53ca\u70ed\u952e\u4f7f\u7528\u3002\u8fd9\u4e9b\u547d\u4ee4\u548c\u64cd\u4f5c\u662fLinux\u7cfb\u7edf\u7ba1\u7406\u548c\u65e5\u5e38\u4f7f\u7528\u7684\u57fa\u7840\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/39207.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-22T12:47:07+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522124702-682f1cc60637c.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\/39207.html","url":"https:\/\/www.wsisp.com\/helps\/39207.html","name":"\u56fe\u7ed8Linux\uff1a\u57fa\u7840\u6307\u4ee4\u8109\u7edc\u9601 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-22T12:47:07+00:00","dateModified":"2025-05-22T12:47:07+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/39207.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/39207.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/39207.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u56fe\u7ed8Linux\uff1a\u57fa\u7840\u6307\u4ee4\u8109\u7edc\u9601"}]},{"@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\/39207","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=39207"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/39207\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/39187"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=39207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=39207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=39207"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=39207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}