{"id":368,"date":"2026-07-26T14:21:53","date_gmt":"2026-07-26T06:21:53","guid":{"rendered":"https:\/\/4001200.xyz\/?p=368"},"modified":"2026-07-26T14:21:53","modified_gmt":"2026-07-26T06:21:53","slug":"%e4%b8%80%e3%80%81linux%e5%85%a5%e9%97%a8-3_%e6%9f%a5%e7%9c%8b%e5%92%8c%e5%88%87%e6%8d%a2%e7%9b%ae%e5%bd%95%e5%91%bd%e4%bb%a4","status":"publish","type":"post","link":"https:\/\/4001200.xyz\/index.php\/2026\/07\/26\/%e4%b8%80%e3%80%81linux%e5%85%a5%e9%97%a8-3_%e6%9f%a5%e7%9c%8b%e5%92%8c%e5%88%87%e6%8d%a2%e7%9b%ae%e5%bd%95%e5%91%bd%e4%bb%a4\/","title":{"rendered":"\u4e00\u3001Linux\u5165\u95e8-3_\u67e5\u770b\u548c\u5207\u6362\u76ee\u5f55\u547d\u4ee4"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u67e5\u770b\u76ee\u5f55\u4e0b\u6587\u4ef6\u4fe1\u606f\uff1als<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">ls\u662f\u82f1\u6587\u5355\u8bcdlist\u7684\u7b80\u5199\uff0c\u5176\u529f\u80fd\u4e3a\u5217\u51fa\u76ee\u5f55\u7684\u5185\u5bb9\uff0c\u662f\u7528\u6237\u6700\u5e38\u7528\u7684\u547d\u4ee4\u4e4b\u4e00\uff0c\u5b83\u7c7b\u4f3c\u4e8eDOS\u4e0b\u7684dir\u547d\u4ee4\u3002Linux\u6587\u4ef6\u6216\u8005\u76ee\u5f55\u540d\u79f0\u6700\u957f\u53ef\u4ee5\u6709265\u4e2a\u5b57\u7b26\uff0c\u201c.\u201d\u4ee3\u8868\u5f53\u524d\u76ee\u5f55\uff0c\u201c..\u201d\u4ee3\u8868\u4e0a\u4e00\u7ea7\u76ee\u5f55\uff0c\u4ee5\u201c.\u201d\u5f00\u5934\u7684\u6587\u4ef6\u4e3a\u9690\u85cf\u6587\u4ef6\uff0c\u9700\u8981\u7528 -a \u53c2\u6570\u624d\u80fd\u663e\u793a\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">ls\u5e38\u7528\u53c2\u6570\uff1a<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>\u53c2\u6570<\/strong><\/td><td><strong>\u542b\u4e49<\/strong><\/td><\/tr><tr><td>-a<\/td><td>\u663e\u793a\u6307\u5b9a\u76ee\u5f55\u4e0b\u6240\u6709\u5b50\u76ee\u5f55\u4e0e\u6587\u4ef6\uff0c\u5305\u62ec\u9690\u85cf\u6587\u4ef6<\/td><\/tr><tr><td>-l<\/td><td>\u4ee5\u5217\u8868\u65b9\u5f0f\u663e\u793a\u6587\u4ef6\u7684\u8be6\u7ec6\u4fe1\u606f<\/td><\/tr><tr><td>-h<\/td><td>\u914d\u5408 -l \u4ee5\u4eba\u6027\u5316\u7684\u65b9\u5f0f\u663e\u793a\u6587\u4ef6\u5927\u5c0f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ls-al# \u7b49\u6548\u4e8ell, \u5217\u8868\u7684\u5f62\u5f0f\u5217\u51fa\u6240\u6709\u6587\u4ef6\u548c\u76ee\u5f55\uff08\u5305\u542b\u9690\u85cf\u6587\u4ef6\u76ee\u5f55\uff09<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u5207\u6362\u5de5\u4f5c\u76ee\u5f55\uff1acd<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u4f7f\u7528Unix\/Linux\u7684\u65f6\u5019\uff0c\u7ecf\u5e38\u9700\u8981\u66f4\u6362\u5de5\u4f5c\u76ee\u5f55\u3002cd\u547d\u4ee4\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5207\u6362\u5de5\u4f5c\u76ee\u5f55\u3002<strong>Linux\u6240\u6709\u7684\u76ee\u5f55\u548c\u6587\u4ef6\u540d\u5927\u5c0f\u5199\u654f\u611f<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">cd\u540e\u9762\u53ef\u8ddf\u7edd\u5bf9\u8def\u5f84\uff0c\u4e5f\u53ef\u4ee5\u8ddf\u76f8\u5bf9\u8def\u5f84\u3002\u5982\u679c\u7701\u7565\u76ee\u5f55\uff0c\u5219\u9ed8\u8ba4\u5207\u6362\u5230\u5f53\u524d\u7528\u6237\u7684\u4e3b\u76ee\u5f55\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>\u547d\u4ee4<\/strong><\/td><td><strong>\u542b\u4e49<\/strong><\/td><\/tr><tr><td>cd<\/td><td>\u5207\u6362\u5230\u5f53\u524d\u7528\u6237\u7684\u4e3b\u76ee\u5f55(\/home\/\u7528\u6237\u76ee\u5f55)\uff0c \u7528\u6237\u767b\u9646\u65f6\uff0c\u9ed8\u8ba4\u7684\u76ee\u5f55\u5c31\u662f\u7528\u6237\u7684\u4e3b\u76ee\u5f55\u3002<\/td><\/tr><tr><td>cd ~<\/td><td>\u5207\u6362\u5230\u5f53\u524d\u7528\u6237\u7684\u4e3b\u76ee\u5f55(\/home\/\u7528\u6237\u76ee\u5f55)<\/td><\/tr><tr><td>cd .<\/td><td>\u5207\u6362\u5230\u5f53\u524d\u76ee\u5f55<\/td><\/tr><tr><td>cd ..<\/td><td>\u5207\u6362\u5230\u4e0a\u7ea7\u76ee\u5f55<\/td><\/tr><tr><td>cd &#8211;<\/td><td>\u53ef\u8fdb\u5165\u4e0a\u6b21\u6240\u5728\u7684\u76ee\u5f55<\/td><\/tr><tr><td>cd \/<\/td><td>\u5207\u6362\u5230\u7cfb\u7edf\u6839\u76ee\u5f55\/<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u8def\u5f84\u662f\u4ece\u6839\u8def\u5f84\u5f00\u59cb\u7684\uff0c\u5219\u8def\u5f84\u7684\u524d\u9762\u9700\u8981\u52a0\u4e0a \u201c \/ \u201d\uff0c\u5982 \u201c \/mnt \u201d\uff0c\u901a\u5e38\u8fdb\u5165\u67d0\u4e2a\u76ee\u5f55\u91cc\u7684\u6587\u4ef6\u5939\uff0c\u524d\u9762\u4e0d\u7528\u52a0 \u201c \/ \u201d\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u663e\u793a\u5f53\u524d\u8def\u5f84\uff1apwd<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f7f\u7528pwd\u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u5f53\u524d\u7684\u5de5\u4f5c\u76ee\u5f55\uff0c\u8be5\u547d\u4ee4\u5f88\u7b80\u5355\uff0c\u4f46\u53c8\u5f88\u5e38\u7528\uff0c\u76f4\u63a5\u8f93\u5165pwd\u5373\u53ef\uff0c\u540e\u9762\u4e0d\u5e26\u53c2\u6570\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"> \u7ec3\u4e60: \u6309\u7167\u5982\u4e0b\u76ee\u5f55\u7ed3\u6784\u521b\u5efa\u6587\u4ef6\u548c\u76ee\u5f55<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>\u251c\u2500\u2500new_dir\n\u2502\u2514\u2500\u2500good.txt\n\u251c\u2500\u2500new_dir2\n\u2502\u251c\u2500\u2500haha.txt\n\u2502\u2514\u2500\u2500hello.txt\n\u2514\u2500\u2500root.txt<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u67e5\u770b\u76ee\u5f55\u4e0b\u6587\u4ef6\u4fe1\u606f\uff1als ls\u662f\u82f1\u6587\u5355\u8bcdlist\u7684\u7b80\u5199\uff0c\u5176\u529f\u80fd\u4e3a\u5217\u51fa\u76ee\u5f55\u7684\u5185\u5bb9\uff0c\u662f\u7528\u6237\u6700\u5e38\u7528\u7684\u547d\u4ee4\u4e4b\u4e00\uff0c\u5b83\u7c7b\u4f3c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[29],"class_list":["post-368","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linux"],"_links":{"self":[{"href":"https:\/\/4001200.xyz\/index.php\/wp-json\/wp\/v2\/posts\/368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/4001200.xyz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/4001200.xyz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/4001200.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/4001200.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=368"}],"version-history":[{"count":1,"href":"https:\/\/4001200.xyz\/index.php\/wp-json\/wp\/v2\/posts\/368\/revisions"}],"predecessor-version":[{"id":369,"href":"https:\/\/4001200.xyz\/index.php\/wp-json\/wp\/v2\/posts\/368\/revisions\/369"}],"wp:attachment":[{"href":"https:\/\/4001200.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/4001200.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/4001200.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}