{"id":8,"date":"2009-03-27T21:21:16","date_gmt":"2009-03-27T13:21:16","guid":{"rendered":"http:\/\/www.bluesdream.com\/blog\/?p=8"},"modified":"2009-10-04T23:02:45","modified_gmt":"2009-10-04T15:02:45","slug":"linux-file-description","status":"publish","type":"post","link":"https:\/\/www.bluesdream.com\/blog\/linux-file-description.html","title":{"rendered":"linux\u6587\u4ef6\u7cfb\u7edf\u76ee\u5f55\u7ed3\u6784\u4e0e\u8bf4\u660e"},"content":{"rendered":"<p>\u4ee5RedHatEnterprise4AS\u4e3a\u4f8b<\/p>\n<p><strong>\/bin<\/strong>\uff1abin\u5c31\u662f\u4e8c\u8fdb\u5236(binary)\u82f1\u6587\u7f29\u5199\u3002\u5728\u8fd9\u91cc\u5b58\u653e\u524d\u9762linux\u5e38\u7528\u64cd\u4f5c\u547d\u4ee4\u7684\u6267\u884c\u6587\u4ef6\uff0c\u5982mv,ls,mkdir\u7b49\u3002\u6709\u65f6\uff0c\u8fd9\u4e2a\u76ee\u5f55\u7684\u5185\u5bb9\u548c\/usr\/bin\u91cc\u9762\u7684\u5185\u5bb9\u4e00\u6837\uff0c\u5b83\u4eec\u90fd\u662f\u653e\u7f6e\u4e00\u822c\u7528\u6237\u4f7f\u7528\u7684\u6267\u884c\u6587\u4ef6\u3002<!--more--><\/p>\n<p><strong>\/boot<\/strong>\uff1a\u8fd9\u4e2a\u76ee\u5f55\u4e0b\u5b58\u653e\u64cd\u4f5c\u7cfb\u7edf\u542f\u52a8\u65f6\u6240\u8981\u7528\u5230\u7684\u7a0b\u5e8f\u3002\u5982\u542f\u52a8grub\u5c31\u4f1a\u7528\u5230\u5176\u4e0b\u7684\/boot\/grub\u5b50\u76ee\u5f55\u3002<\/p>\n<p><strong>\/dev<\/strong>\uff1a\u8be5\u76ee\u5f55\u4e2d\u5305\u542b\u4e86\u6240\u6709linux\u7cfb\u7edf\u4e2d\u4f7f\u7528\u7684\u5916\u90e8\u8bbe\u5907\u3002\u8981\u6ce8\u610f\u7684\u662f\uff0c\u8fd9\u91cc\u5e76\u4e0d\u662f\u5b58\u653e\u7684\u5916\u90e8\u8bbe\u5907\u7684\u9a71\u52a8\u7a0b\u5e8f\uff0c\u5b83\u5b9e\u9645\u4e0a\u662f\u4e00\u4e2a\u8bbf\u95ee\u8fd9\u4e9b\u5916\u90e8\u8bbe\u5907\u7684\u7aef\u53e3\u3002\u7531\u4e8e\u5728linux\u4e2d\uff0c\u6240\u6709\u7684\u8bbe\u5907\u90fd\u88ab\u5f53\u4f5c\u6587\u4ef6\u4e00\u6837\u8fdb\u884c\u64cd\u4f5c\uff0c\u6bd4\u5982\uff1a\/dev\/cdrom\u4ee3\u8868\u5149\u9a71\uff0c\u7528\u6237\u53ef\u4ee5\u975e\u5e38\u65b9\u4fbf\u5730\u50cf\u8bbf\u95ee\u6587\u4ef6\u3001\u76ee\u5f55\u4e00\u6837\u5bf9\u5176\u8fdb\u884c\u8bbf\u95ee\u3002<\/p>\n<p><img decoding=\"async\" title=\"\u66f4\u591a...\" src=\"http:\/\/127.0.0.1\/blog\/wp-includes\/js\/tinymce\/plugins\/wordpress\/img\/trans.gif\" alt=\"\" \/><\/p>\n<p><strong>\/etc<\/strong>\uff1a\u8be5\u76ee\u5f55\u4e0b\u5b58\u653e\u4e86\u7cfb\u7edf\u7ba1\u7406\u65f6\u8981\u7528\u5230\u7684\u5404\u79cd\u914d\u7f6e\u6587\u4ef6\u548c\u5b50\u76ee\u5f55\u3002\u5982\u7f51\u7edc\u914d\u7f6e\u6587\u4ef6\u3001\u6587\u4ef6\u7cfb\u7edf\u3001x\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6\u3001\u8bbe\u5907\u914d\u7f6e\u4fe1\u606f\u8bbe\u7f6e\u7528\u6237\u4fe1\u606f\u7b49\u90fd\u5728\u8fd9\u4e2a\u76ee\u5f55\u4e0b\u3002\u7cfb\u7edf\u5728\u542f\u52a8\u8fc7\u7a0b\u4e2d\u9700\u8981\u8bfb\u53d6\u5176\u53c2\u6570\u8fdb\u884c\u76f8\u5e94\u7684\u914d\u7f6e\u3002<\/p>\n<p><strong>\/home<\/strong>\uff1a\u8be5\u76ee\u5f55\u662flinux\u7cfb\u7edf\u4e2d\u9ed8\u8ba4\u7684\u7528\u6237\u5de5\u4f5c\u6839\u76ee\u5f55\u3002\u6267\u884cadduser\u547d\u4ee4\u540e\u7cfb\u7edf\u4f1a\u5728\/home\u76ee\u5f55\u4e0b\u4e3a\u5bf9\u5e94\u8d26\u53f7\u5efa\u7acb\u4e00\u4e2a\u540d\u4e3a\u540c\u540d\u7684\u4e3b\u76ee\u5f55\u3002<\/p>\n<p><strong>\/lib<\/strong>\uff1a\u8be5\u76ee\u5f55\u662f\u7528\u6765\u5b58\u653e\u7cfb\u7edf\u52a8\u6001\u8fde\u63a5\u5171\u4eab\u5e93\u7684\u3002\u51e0\u4e4e\u6240\u6709\u7684\u5e94\u7528\u7a0b\u5e8f\u90fd\u4f1a\u7528\u5230\u8fd9\u4e2a\u76ee\u5f55\u4e0b\u7684\u5171\u4eab\u5e93\u3002\u56e0\u6b64\uff0c\u5343\u4e07\u4e0d\u8981\u8f7b\u6613\u5bf9\u8fd9\u4e2a\u76ee\u5f55\u8fdb\u884c\u4ec0\u4e48\u64cd\u4f5c\u3002<\/p>\n<p><strong>\/lost+found<\/strong>\uff1a\u8be5\u76ee\u5f55\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\u662f\u7a7a\u7684\u3002\u53ea\u6709\u5f53\u7cfb\u7edf\u4ea7\u751f\u5f02\u5e38\u65f6\uff0c\u4f1a\u5c06\u4e00\u4e9b\u9057\u5931\u7684\u7247\u6bb5\u653e\u5728\u6b64\u76ee\u5f55\u4e0b\u3002<\/p>\n<p><strong>\/media<\/strong>\uff1a\u8be5\u76ee\u5f55\u4e0b\u662f\u5149\u9a71\u548c\u8f6f\u9a71\u7684\u6302\u8f7d\u70b9\uff0cubuntu\u5df2\u7ecf\u53ef\u4ee5\u5c06windows\u4e0b\u7684\u5206\u533a\u6302\u8f7d\u5728\u6b64\u76ee\u5f55\u4e0b<\/p>\n<p><strong>\/misc<\/strong>\uff1a\u8be5\u76ee\u5f55\u4e0b\u5b58\u653e\u4ecedos\u4e0b\u8fdb\u884c\u5b89\u88c5\u7684\u4f7f\u7528\u5de5\u5177\uff0c\u4e00\u822c\u4e3a\u7a7a\u3002<\/p>\n<p><strong>\/mnt<\/strong>\uff1a\u8be5\u76ee\u5f55\u662f\u8f6f\u9a71\u3001\u5149\u9a71\u3001\u786c\u76d8\u7684\u6302\u8f7d\u70b9\uff0c\u4e5f\u53ef\u4ee5\u4e34\u65f6\u5c06\u522b\u7684\u6587\u4ef6\u7cfb\u7edf\u6302\u8f7d\u5230\u6b64\u76ee\u5f55\u4e0b\u3002<\/p>\n<p><strong>\/proc<\/strong>\uff1a\u8be5\u76ee\u5f55\u662f\u7528\u4e8e\u653e\u7f6e\u7cfb\u7edf\u6838\u5fc3\u4e0e\u6267\u884c\u7a0b\u5e8f\u6240\u9700\u7684\u4e00\u4e9b\u4fe1\u606f\u3002\u800c\u8fd9\u4e9b\u4fe1\u606f\u662f\u5728\u5185\u5b58\u4e2d\u7531\u7cfb\u7edf\u4ea7\u751f\u7684\uff0c\u6545\u4e0d\u5360\u7528\u786c\u76d8\u7a7a\u95f4\u3002<\/p>\n<p><strong>\/sbin<\/strong>\uff1a\u8be5\u76ee\u5f55\u662f\u7528\u6765\u5b58\u653e\u7cfb\u7edf\u7ba1\u7406\u5458\u7684\u5e38\u7528\u7684\u7cfb\u7edf\u7ba1\u7406\u7a0b\u5e8f\u3002<\/p>\n<p><strong>\/tmp<\/strong>\uff1a\u8be5\u76ee\u5f55\u7528\u6765\u5b58\u653e\u4e0d\u540c\u7a0b\u5e8f\u4ea7\u751f\u7684\u4e34\u65f6\u6587\u4ef6\u3002<\/p>\n<p><strong>\/usr<\/strong>\uff1a\u8fd9\u662f\u4e00\u4e2a\u975e\u5e38\u91cd\u8981\u7684\u76ee\u5f55\uff0c\u7528\u6237\u7684\u5f88\u591a\u5e94\u7528\u7a0b\u5e8f\u548c\u6587\u4ef6\u90fd\u653e\u5728\u8fd9\u4e2a\u76ee\u5f55\u4e0b\uff0c\u7c7b\u4f3c\u4e0ewindows\u4e0b\u7684program files\u76ee\u5f55<\/p>\n<p><strong>\/usr\/bin<\/strong>\uff1a\u7cfb\u7edf\u7528\u6237\u4f7f\u7528\u7684\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p><strong>\/usr\/sbin<\/strong>\uff1a\u8d85\u7ea7\u7528\u6237\u4f7f\u7528\u7684\u6bd4\u8f83\u9ad8\u7ea7\u7684\u7ba1\u7406\u7a0b\u5e8f\u548c\u7cfb\u7edf\u5b88\u62a4\u7a0b\u5e8f\u3002<\/p>\n<p><strong>\/usr\/src<\/strong>\uff1a\u5185\u6838\u6e90\u4ee3\u7801\u9ed8\u8ba4\u7684\u653e\u7f6e\u76ee\u5f55\u3002<\/p>\n<p><strong>\/srv<\/strong>\uff1a\u8be5\u76ee\u5f55\u5b58\u653e\u4e00\u4e9b\u670d\u52a1\u542f\u52a8\u4e4b\u540e\u9700\u8981\u63d0\u53d6\u7684\u6570\u636e\u3002<\/p>\n<p><strong>\/sys<\/strong>\uff1a\u8fd9\u662flinux2.6\u5185\u6838\u7684\u4e00\u4e2a\u5f88\u5927\u7684\u53d8\u5316\u3002\u8be5\u76ee\u5f55\u4e0b\u5b89\u88c5\u4e862.6\u5185\u6838\u4e2d\u65b0\u51fa\u73b0\u7684\u4e00\u4e2a\u6587\u4ef6\u7cfb\u7edfsysfs \uff0csysfs\u6587\u4ef6\u7cfb\u7edf\u96c6\u6210\u4e86\u4e0b\u97623\u79cd\u6587\u4ef6\u7cfb\u7edf\u7684\u4fe1\u606f\uff1a\u9488\u5bf9\u8fdb\u7a0b\u4fe1\u606f\u7684proc\u6587\u4ef6\u7cfb\u7edf\u3001\u9488\u5bf9\u8bbe\u5907\u7684devfs\u6587\u4ef6\u7cfb\u7edf\u4ee5\u53ca\u9488\u5bf9\u4f2a\u7ec8\u7aef\u7684devpts\u6587\u4ef6\u7cfb\u7edf\u3002\u8be5\u6587\u4ef6\u7cfb\u7edf\u662f\u5185\u6838\u8bbe\u5907\u6811\u7684\u4e00\u4e2a\u76f4\u89c2\u53cd\u6620\u3002\u5f53\u4e00\u4e2a\u5185\u6838\u5bf9\u8c61\u88ab\u521b\u5efa\u7684\u65f6\u5019\uff0c\u5bf9\u5e94\u7684\u6587\u4ef6\u548c\u76ee\u5f55\u4e5f\u5728\u5185\u6838\u5bf9\u8c61\u5b50\u7cfb\u7edf\u79cd\u88ab\u521b\u5efa\u3002<\/p>\n<p><strong>\/var<\/strong>\uff1a\u8fd9\u4e5f\u662f\u4e00\u4e2a\u975e\u5e38\u91cd\u8981\u7684\u76ee\u5f55\uff0c\u5f88\u591a\u670d\u52a1\u7684\u65e5\u5fd7\u4fe1\u606f\u90fd\u5b58\u653e\u5728\u8fd9\u91cc\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5RedHatEnterprise4AS\u4e3a\u4f8b \/bin\uff1abin\u5c31\u662f\u4e8c\u8fdb\u5236(binary)\u82f1\u6587\u7f29\u5199\u3002\u5728\u8fd9\u91cc\u5b58\u653e\u524d\u9762linux\u5e38\u7528\u64cd\u4f5c\u547d\u4ee4\u7684\u6267\u884c\u6587\u4ef6\uff0c\u5982mv,ls,mkdir\u7b49\u3002\u6709\u65f6\uff0c\u8fd9\u4e2a\u76ee\u5f55\u7684\u5185\u5bb9\u548c\/usr\/bin\u91cc\u9762\u7684\u5185\u5bb9\u4e00\u6837\uff0c\u5b83\u4eec\u90fd\u662f\u653e\u7f6e\u4e00\u822c\u7528\u6237\u4f7f\u7528\u7684\u6267\u884c\u6587\u4ef6\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[11],"class_list":["post-8","post","type-post","status-publish","format-standard","hentry","category-program","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.bluesdream.com\/blog\/wp-json\/wp\/v2\/posts\/8"}],"collection":[{"href":"https:\/\/www.bluesdream.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bluesdream.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bluesdream.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bluesdream.com\/blog\/wp-json\/wp\/v2\/comments?post=8"}],"version-history":[{"count":0,"href":"https:\/\/www.bluesdream.com\/blog\/wp-json\/wp\/v2\/posts\/8\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bluesdream.com\/blog\/wp-json\/wp\/v2\/media?parent=8"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bluesdream.com\/blog\/wp-json\/wp\/v2\/categories?post=8"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bluesdream.com\/blog\/wp-json\/wp\/v2\/tags?post=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}