{"id":37323,"date":"2023-12-11T14:41:00","date_gmt":"2023-12-11T06:41:00","guid":{"rendered":"https:\/\/wx.kaifamiao.info\/?p=37323"},"modified":"2023-12-11T14:41:00","modified_gmt":"2023-12-11T06:41:00","slug":"%e7%ae%80%e5%8d%95%e4%bb%8b%e7%bb%8d%e4%b8%80%e4%b8%8b-linux-%e6%96%87%e4%bb%b6%e7%b3%bb%e7%bb%9f%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/wx.kaifamiao.info\/index.php\/2023\/12\/11\/%e7%ae%80%e5%8d%95%e4%bb%8b%e7%bb%8d%e4%b8%80%e4%b8%8b-linux-%e6%96%87%e4%bb%b6%e7%b3%bb%e7%bb%9f%ef%bc%9f\/","title":{"rendered":"\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b Linux \u6587\u4ef6\u7cfb\u7edf\uff1f"},"content":{"rendered":"<p>&#8220;`&#8221;<\/p>\n<h3>3.1 Linux\u6587\u4ef6\u7cfb\u7edf\u7b80\u4ecb<\/h3>\n<p><strong>\u5728Linux\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0c\u6240\u6709\u88ab\u64cd\u4f5c\u7cfb\u7edf\u7ba1\u7406\u7684\u8d44\u6e90\uff0c\u4f8b\u5982\u7f51\u7edc\u63a5\u53e3\u5361\u3001\u78c1\u76d8\u9a71\u52a8\u5668\u3001\u6253\u5370\u673a\u3001\u8f93\u5165\u8f93\u51fa\u8bbe\u5907\u3001\u666e\u901a\u6587\u4ef6\u6216\u662f\u76ee\u5f55\u90fd\u88ab\u770b\u4f5c\u662f\u4e00\u4e2a\u6587\u4ef6\u3002<\/strong><\/p>\n<p>\u4e5f\u5c31\u662f\u8bf4\u5728LINUX\u7cfb\u7edf\u4e2d\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u6982\u5ff5\uff1a<strong>\u4e00\u5207\u90fd\u662f\u6587\u4ef6<\/strong>\u3002\u5176\u5b9e\u8fd9\u662fUNIX\u54f2\u5b66\u7684\u4e00\u4e2a\u4f53\u73b0\uff0c\u800cLinux\u662f\u91cd\u5199UNIX\u800c\u6765\uff0c\u6240\u4ee5\u8fd9\u4e2a\u6982\u5ff5\u4e5f\u5c31\u4f20\u627f\u4e86\u4e0b\u6765\u3002\u5728UNIX\u7cfb\u7edf\u4e2d\uff0c\u628a\u4e00\u5207\u8d44\u6e90\u90fd\u770b\u4f5c\u662f\u6587\u4ef6\uff0c\u5305\u62ec\u786c\u4ef6\u8bbe\u5907\u3002UNIX\u7cfb\u7edf\u628a\u6bcf\u4e2a\u786c\u4ef6\u90fd\u770b\u6210\u662f\u4e00\u4e2a\u6587\u4ef6\uff0c\u901a\u5e38\u79f0\u4e3a\u8bbe\u5907\u6587\u4ef6\uff0c\u8fd9\u6837\u7528\u6237\u5c31\u53ef\u4ee5\u7528\u8bfb\u5199\u6587\u4ef6\u7684\u65b9\u5f0f\u5b9e\u73b0\u5bf9\u786c\u4ef6\u7684\u8bbf\u95ee\u3002<\/p>\n<h3>3.2 \u6587\u4ef6\u7c7b\u578b\u4e0e\u76ee\u5f55\u7ed3\u6784<\/h3>\n<p><strong>Linux\u652f\u63015\u79cd\u6587\u4ef6\u7c7b\u578b \uff1a<\/strong><img decoding=\"async\" alt=\"\"\u6587\u4ef6\u7c7b\u578b\"\" src=\"\"https:\/\/user-gold-cdn.xitu.io\/2018\/7\/3\/1645f1a7d64def1a?w=901&amp;h=547&amp;f=png&amp;s=72692\"\" style=\"\"width: 100%;\"\"><\/p>\n<p><strong>Linux\u7684\u76ee\u5f55\u7ed3\u6784\u5982\u4e0b\uff1a<\/strong><\/p>\n<p>Linux\u6587\u4ef6\u7cfb\u7edf\u7684\u7ed3\u6784\u5c42\u6b21\u9c9c\u660e\uff0c\u5c31\u50cf\u4e00\u68f5\u5012\u7acb\u7684\u6811\uff0c\u6700\u9876\u5c42\u662f\u5176\u6839\u76ee\u5f55\uff1a<img decoding=\"async\" alt=\"\"Linux\u7684\u76ee\u5f55\u7ed3\u6784\"\" src=\"\"https:\/\/user-gold-cdn.xitu.io\/2018\/7\/3\/1645f1c65676caf6?w=823&amp;h=315&amp;f=png&amp;s=15226\"\" style=\"\"width: 100%;\"\"><\/p>\n<p><strong>\u5e38\u89c1\u76ee\u5f55\u8bf4\u660e\uff1a<\/strong><\/p>\n<ul>\n<li><strong>\/bin\uff1a<\/strong> \u5b58\u653e\u4e8c\u8fdb\u5236\u53ef\u6267\u884c\u6587\u4ef6(ls\u3001cat\u3001mkdir\u7b49)\uff0c\u5e38\u7528\u547d\u4ee4\u4e00\u822c\u90fd\u5728\u8fd9\u91cc\uff1b<\/li>\n<li><strong>\/etc\uff1a<\/strong>  \u5b58\u653e\u7cfb\u7edf\u7ba1\u7406\u548c\u914d\u7f6e\u6587\u4ef6\uff1b<\/li>\n<li><strong>\/home\uff1a<\/strong>  \u5b58\u653e\u6240\u6709\u7528\u6237\u6587\u4ef6\u7684\u6839\u76ee\u5f55\uff0c\u662f\u7528\u6237\u4e3b\u76ee\u5f55\u7684\u57fa\u70b9\uff0c\u6bd4\u5982\u7528\u6237user\u7684\u4e3b\u76ee\u5f55\u5c31\u662f\/home\/user\uff0c\u53ef\u4ee5\u7528~user\u8868\u793a\uff1b<\/li>\n<li><strong>\/usr \uff1a<\/strong> \u7528\u4e8e\u5b58\u653e\u7cfb\u7edf\u5e94\u7528\u7a0b\u5e8f\uff1b<\/li>\n<li><strong>\/opt\uff1a<\/strong> \u989d\u5916\u5b89\u88c5\u7684\u53ef\u9009\u5e94\u7528\u7a0b\u5e8f\u5305\u6240\u653e\u7f6e\u7684\u4f4d\u7f6e\u3002\u4e00\u822c\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u53ef\u4ee5\u628atomcat\u7b49\u90fd\u5b89\u88c5\u5230\u8fd9\u91cc\uff1b<\/li>\n<li><strong>\/proc\uff1a<\/strong>  \u865a\u62df\u6587\u4ef6\u7cfb\u7edf\u76ee\u5f55\uff0c\u662f\u7cfb\u7edf\u5185\u5b58\u7684\u6620\u5c04\u3002\u53ef\u76f4\u63a5\u8bbf\u95ee\u8fd9\u4e2a\u76ee\u5f55\u6765\u83b7\u53d6\u7cfb\u7edf\u4fe1\u606f\uff1b<\/li>\n<li><strong>\/root\uff1a<\/strong>  \u8d85\u7ea7\u7528\u6237\uff08\u7cfb\u7edf\u7ba1\u7406\u5458\uff09\u7684\u4e3b\u76ee\u5f55\uff08\u7279\u6743\u9636\u7ea7^o^\uff09\uff1b<\/li>\n<li><strong>\/sbin:<\/strong>  \u5b58\u653e\u4e8c\u8fdb\u5236\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u53ea\u6709root\u624d\u80fd\u8bbf\u95ee\u3002\u8fd9\u91cc\u5b58\u653e\u7684\u662f\u7cfb\u7edf\u7ba1\u7406\u5458\u4f7f\u7528\u7684\u7cfb\u7edf\u7ea7\u522b\u7684\u7ba1\u7406\u547d\u4ee4\u548c\u7a0b\u5e8f\u3002\u5982ifconfig\u7b49\uff1b<\/li>\n<li><strong>\/dev\uff1a<\/strong> \u7528\u4e8e\u5b58\u653e\u8bbe\u5907\u6587\u4ef6\uff1b<\/li>\n<li><strong>\/mnt\uff1a<\/strong> \u7cfb\u7edf\u7ba1\u7406\u5458\u5b89\u88c5\u4e34\u65f6\u6587\u4ef6\u7cfb\u7edf\u7684\u5b89\u88c5\u70b9\uff0c\u7cfb\u7edf\u63d0\u4f9b\u8fd9\u4e2a\u76ee\u5f55\u662f\u8ba9\u7528\u6237\u4e34\u65f6\u6302\u8f7d\u5176\u4ed6\u7684\u6587\u4ef6\u7cfb\u7edf\uff1b<\/li>\n<li><strong>\/boot\uff1a<\/strong>  \u5b58\u653e\u7528\u4e8e\u7cfb\u7edf\u5f15\u5bfc\u65f6\u4f7f\u7528\u7684\u5404\u79cd\u6587\u4ef6\uff1b<\/li>\n<li><strong>\/lib \uff1a<\/strong>      \u5b58\u653e\u7740\u548c\u7cfb\u7edf\u8fd0\u884c\u76f8\u5173\u7684\u5e93\u6587\u4ef6 \uff1b<\/li>\n<li><strong>\/tmp\uff1a<\/strong> \u7528\u4e8e\u5b58\u653e\u5404\u79cd\u4e34\u65f6\u6587\u4ef6\uff0c\u662f\u516c\u7528\u7684\u4e34\u65f6\u6587\u4ef6\u5b58\u50a8\u70b9\uff1b<\/li>\n<li><strong>\/var\uff1a<\/strong> \u7528\u4e8e\u5b58\u653e\u8fd0\u884c\u65f6\u9700\u8981\u6539\u53d8\u6570\u636e\u7684\u6587\u4ef6\uff0c\u4e5f\u662f\u67d0\u4e9b\u5927\u6587\u4ef6\u7684\u6ea2\u51fa\u533a\uff0c\u6bd4\u65b9\u8bf4\u5404\u79cd\u670d\u52a1\u7684\u65e5\u5fd7\u6587\u4ef6\uff08\u7cfb\u7edf\u542f\u52a8\u65e5\u5fd7\u7b49\u3002\uff09\u7b49\uff1b<\/li>\n<li><strong>\/lost+found\uff1a<\/strong>  \u8fd9\u4e2a\u76ee\u5f55\u5e73\u65f6\u662f\u7a7a\u7684\uff0c\u7cfb\u7edf\u975e\u6b63\u5e38\u5173\u673a\u800c\u7559\u4e0b\u201c\u65e0\u5bb6\u53ef\u5f52\u201d\u7684\u6587\u4ef6\uff08windows\u4e0b\u53eb\u4ec0\u4e48.chk\uff09\u5c31\u5728\u8fd9\u91cc\u3002<\/li>\n<\/ul>\n<pre><code>            \"```\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;`&#8221; 3.1 Linux\u6587\u4ef6\u7cfb\u7edf\u7b80\u4ecb \u5728Linux\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0c\u6240\u6709\u88ab\u64cd\u4f5c\u7cfb\u7edf\u7ba1\u7406\u7684\u8d44 [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[],"class_list":["post-37323","post","type-post","status-publish","format-standard","hentry","category-c"],"_links":{"self":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/37323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/comments?post=37323"}],"version-history":[{"count":1,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/37323\/revisions"}],"predecessor-version":[{"id":37324,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/37323\/revisions\/37324"}],"wp:attachment":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/media?parent=37323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/categories?post=37323"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/tags?post=37323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}