{"id":161948,"date":"2019-10-18T12:02:42","date_gmt":"2019-10-18T04:02:42","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=161948"},"modified":"2019-10-22T09:25:42","modified_gmt":"2019-10-22T01:25:42","slug":"linuxdevelopment-and-learning","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linuxdevelopment-and-learning.html","title":{"rendered":"\u5d4c\u5165\u5f0fLinux\u5f00\u53d1\u5b66\u4e60\u4e4bLinux\u6587\u4ef6\u7cfb\u7edf\u5b66\u4e60"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u64cd\u4f5c\u7cfb\u7edf\u7684\u57fa\u672c\u529f\u80fd\u4e4b\u4e00\u5c31\u662f\u6587\u4ef6\u7ba1\u7406\uff0c\u800c\u6587\u4ef6\u7684\u7ba1\u7406\u662f\u7531\u6587\u4ef6\u7cfb\u7edf\u6765\u5b8c\u6210\u7684\u3002Linux \u652f\u6301\u591a\u79cd\u6587\u4ef6\u7cfb\u7edf\uff0c\u672c\u6587\u6211\u4eec\u5c31\u6765\u8bb2\u89e3 Linux \u4e0b\u7684\u6587\u4ef6\u7cfb\u7edf\u3001\u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b\u3001\u6587\u4ef6\u7cfb\u7edf\u7ed3\u6784\u548c\u6587\u4ef6\u7cfb\u7edf\u76f8\u5173Shell \u547d\u4ee4\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u64cd\u4f5c\u7cfb\u7edf\u5c31\u662f\u5904\u7406\u5404\u79cd\u6570\u636e\u7684\uff0c\u8fd9\u4e9b\u6570\u636e\u5728\u786c\u76d8\u4e0a\u5c31\u662f\u4e8c\u8fdb\u5236\uff0c\u4eba\u7c7b\u80af\u5b9a\u4e0d\u80fd\u76f4\u63a5\u770b\u61c2\u8fd9\u4e9b\u4e8c\u8fdb\u5236\u6570\u636e\uff0c\u8981\u6709\u4e00\u4e2a\u7ffb\u8bd1\u5668\uff0c\u5c06\u8fd9\u4e9b\u4e8c\u8fdb\u5236\u7684\u6570\u636e\u8fd8\u539f\u4e3a\u4eba\u7c7b\u80fd\u770b\u61c2\u7684\u6587\u4ef6\u5f62\u5f0f\uff0c\u8fd9\u4e2a\u5de5\u4f5c\u5c31\u662f\u7531\u6587\u4ef6\u7cfb\u7edf\u6765\u5b8c\u6210\u7684\uff0c\u6587\u4ef6\u7cfb\u7edf\u7684\u76ee\u7684\u5c31\u662f\u5b9e\u73b0\u6570\u636e\u7684\u67e5\u8be2\u548c\u5b58\u50a8\uff0c\u7531\u4e8e\u4f7f\u7528\u573a\u5408\u3001\u4f7f\u7528\u73af\u5883\u7684\u4e0d\u540c\uff0cLinux \u6709\u591a\u79cd\u6587\u4ef6\u7cfb\u7edf\uff0c\u4e0d\u540c\u7684\u6587\u4ef6\u7cfb\u7edf\u652f\u6301\u4e0d\u540c\u7684\u4f53\u7cfb\u3002\u6587\u4ef6\u7cfb\u7edf\u662f\u7ba1\u7406\u6570\u636e\u7684\uff0c\u800c\u53ef\u4ee5\u5b58\u50a8\u6570\u636e\u7684\u7269\u7406\u8bbe\u5907\u6709\u786c\u76d8\u3001U \u76d8\u3001SD \u5361\u3001NAND FLASH\u3001NOR FLASH\u3001\u7f51\u7edc\u5b58\u50a8\u8bbe\u5907\u7b49\u3002\u4e0d\u540c\u7684\u5b58\u50a8\u8bbe\u5907\u5176\u7269\u7406\u7ed3\u6784\u4e0d\u540c\uff0c\u4e0d\u540c\u7684\u7269\u7406\u7ed3\u6784\u5c31\u9700\u8981\u4e0d\u540c\u7684\u6587\u4ef6\u7cfb\u7edf\u53bb\u7ba1\u7406\uff0c\u6bd4\u5982\u7ba1\u7406 NAND FLASH \u7684\u8bdd\u4f7f\u7528 YAFFS \u6587\u4ef6\u7cfb\u7edf\uff0c\u7ba1\u7406\u786c\u76d8\u3001SD \u5361\u7684\u8bdd\u5c31\u662f ext \u6587\u4ef6\u7cfb\u7edf\u7b49\u7b49\u3002
\n\u6211\u4eec\u5728\u4f7f\u7528 Windows \u7684\u65f6\u5019\u65b0\u4e70\u4e00\u4e2a\u786c\u76d8\u56de\u6765\u4e00\u822c\u80af\u5b9a\u662f\u5c06\u8fd9\u4e2a\u786c\u76d8\u5206\u4e3a\u597d\u51e0\u4e2a\u76d8\uff0c\u6bd4\u5982C \u76d8\u3001D \u76d8\u7b49\u7b49\u3002\u8fd9\u4e2a\u53eb\u78c1\u76d8\u7684\u5206\u5272\uff0cLinux \u4e0b\u4e5f\u652f\u6301\u78c1\u76d8\u5206\u5272\uff0cLinux \u4e0b\u5e38\u7528\u7684\u78c1\u76d8\u5206\u5272\u5de5\u5177\u4e3a\uff1afdisk\uff0cfdisk \u8fd9\u4e2a\u5de5\u5177\u6211\u4eec\u540e\u9762\u4f1a\u8be6\u7ec6\u8bb2\u89e3\u600e\u4e48\u7528\uff0c\u56e0\u4e3a\u6211\u4eec\u79fb\u690d Linux \u7684\u65f6\u5019\u9700\u8981\u5c06 SD\u5361\u5206\u4e3a\u4e09\u4e2a\u5206\u533a\u6765\u5b58\u50a8\u4e0d\u540c\u7684\u4e1c\u897f\u3002\u5728 Windows \u4e0b\u6211\u4eec\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u76d8\u7b26\u4ee5\u540e\u90fd\u8981\u505a\u683c\u5f0f\u5316\u5904\u7406\uff0c\u683c\u5f0f\u5316\u5176\u5b9e\u5c31\u662f\u7ed9\u8fd9\u4e2a\u76d8\u7b26\u521b\u5efa\u6587\u4ef6\u7cfb\u7edf\u7684\u8fc7\u7a0b\uff0c\u6211\u4eec\u5728 Windows \u683c\u5f0f\u5316\u67d0\u4e2a\u76d8\u7684\u65f6\u5019\u90fd\u4f1a\u8ba9\u4f60\u9009\u62e9\u6587\u4ef6\u7cfb\u7edf\uff0c\u5982\u56fe\u6240\u793a\uff1a
\n\"\"<\/p>\n

\u683c\u5f0f\u5316\u78c1\u76d8<\/strong><\/div>\n

\u4e0a\u56fe\u5c31\u662f\u683c\u5f0f\u5316\u78c1\u76d8\u7684\u65f6\u5019\u9009\u62e9\u6587\u4ef6\u7cfb\u7edf\uff0cWindows \u4e0b\u4e00\u822c\u6709 FAT\u3001NTFS \u548c exFAT\u8fd9\u4e9b\u6587\u4ef6\u7cfb\u7edf\u3002\u540c\u6837\u7684\uff0c\u5728 Linux \u4e0b\u6211\u4eec\u4f7f\u7528 fdisk \u521b\u5efa\u597d\u5206\u533a\u4ee5\u540e\u4e5f\u662f\u8981\u5148\u5728\u521b\u5efa\u597d\u7684\u5206\u533a\u4e0a\u9762\u521b\u5efa\u6587\u4ef6\u7cfb\u7edf\uff0c\u4e5f\u5c31\u662f\u683c\u5f0f\u5316\u3002
\n\u5728 Windows \u4e0b\u6709\u78c1\u76d8\u5206\u533a\u7684\u6982\u5ff5\uff0c\u6bd4\u5982 C\uff0cD\uff0cE \u76d8\u7b49\uff0c\u5728 Linux \u4e0b\u6ca1\u6709\u8fd9\u4e2a\u6982\u5ff5\uff0c\u56e0\u6b64Linux \u4e0b\u4f60\u627e\u4e0d\u5230\u50cfC\u3001D\u3001E \u76d8\u8fd9\u6837\u7684\u4e1c\u897f\u3002\u524d\u9762\u6211\u4eec\u8bf4\u4e86Linux \u4e0b\u53ef\u4ee5\u7ed9\u78c1\u76d8\u5206\u5272\uff0c\u4f46\u662f\u6ca1\u6709 C\u3001D\u3001E \u76d8\u90a3\u600e\u4e48\u8bbf\u95ee\u8fd9\u4e9b\u5206\u533a\u5462\uff1f\u5728 Linux \u4e0b\u521b\u5efa\u4e00\u4e2a\u5206\u533a\u5e76\u4e14\u683c\u5f0f\u5316\u597d\u4ee5\u540e\u6211\u4eec\u8981\u5c06\u5176\u201c\u6302\u8f7d\u201d\u5230\u4e00\u4e2a\u76ee\u5f55\u4e0b\u624d\u80fd\u8bbf\u95ee\u8fd9\u4e2a\u5206\u533a\u3002Windows \u7684\u6587\u4ef6\u7cfb\u7edf\u6302\u8f7d\u8fc7\u7a0b\u662f\u5176\u5185\u90e8\u5b8c\u6210\u7684\uff0c\u7528\u6237\u662f\u770b\u4e0d\u5230\u7684\uff0cLinux \u4e0b\u6211\u4eec\u4f7f\u7528 mount \u547d\u4ee4\u6765\u6302\u8f7d\u78c1\u76d8\u3002\u6302\u8f7d\u78c1\u76d8\u7684\u65f6\u5019\u662f\u9700\u8981\u786e\u5b9a\u6302\u8f7d\u70b9\u7684\uff0c\u4e5f\u5c31\u662f\u4f60\u7684\u8fd9\u4e2a\u78c1\u76d8\u8981\u6302\u8f7d\u5230\u54ea\u4e2a\u76ee\u5f55\u4e0b\u3002
\n\u524d\u9762\u6211\u4eec\u8bf4\u4e86\uff0c\u5728Windows \u4e0b\u6709 FAT\u3001NTFS \u548c exFAT \u8fd9\u6837\u7684\u6587\u4ef6\u7cfb\u7edf\uff0c\u5728Linux \u4e0b\u53c8\u6709\u54ea\u4e9b\u6587\u4ef6\u7cfb\u7edf\u5462\uff0cLinux \u4e0b\u7684\u6587\u4ef6\u7cfb\u7edf\u4e3b\u8981\u6709 ext2\u3001ext3\u3001ext4 \u7b49\u6587\u4ef6\u7cfb\u7edf\u3002Linux \u8fd8\u652f\u6301\u5176\u4ed6\u7684 UNIX \u6587\u4ef6\u7cfb\u7edf\uff0c\u6bd4\u5982XFS\u3001JFS\u3001UFS \u7b49\uff0c\u4e5f\u652f\u6301Windows \u7684 FAT \u6587\u4ef6\u7cfb\u7edf\u548c\u7f51\u7edc\u6587\u4ef6\u7cfb\u7edf NFS \u7b49\u3002\u8fd9\u91cc\u6211\u4eec\u4e3b\u8981\u8bb2\u4e00\u4e0b Linux \u81ea\u5e26\u7684 ext2\u3001ext3 \u548c ext4 \u6587\u4ef6\u7cfb\u7edf\u3002<\/p>\n

ext2 \u6587\u4ef6\u7cfb\u7edf\uff1a<\/strong><\/div>\n

ext2 \u662fLinux \u65e9\u671f\u7684\u6587\u4ef6\u7cfb\u7edf\uff0c\u4f46\u662f\u968f\u7740\u6280\u672f\u7684\u53d1\u5c55 ext2 \u6587\u4ef6\u7cfb\u7edf\u5df2\u7ecf\u4e0d\u63a8\u8350\u4f7f\u7528\u4e86\uff0cext2\u662f\u4e00\u4e2a\u975e\u65e5\u5fd7\u6587\u4ef6\u7cfb\u7edf,\u5927\u591a\u6570\u7684 Linux \u53d1\u884c\u7248\u90fd\u4e0d\u652f\u6301 ext2 \u6587\u4ef6\u7cfb\u7edf\u4e86\u3002<\/p>\n

ext3 \u6587\u4ef6\u7cfb\u7edf\uff1a<\/strong><\/div>\n

ext3 \u662f\u5728 ext2 \u7684\u57fa\u7840\u4e0a\u53d1\u5c55\u8d77\u6765\u7684\u6587\u4ef6\u7cfb\u7edf\uff0c\u5b8c\u5168\u517c\u5bb9 ext2 \u6587\u4ef6\u7cfb\u7edf\uff0cext3 \u662f\u4e00\u4e2a\u65e5\u5fd7\u6587\u4ef6\u7cfb\u7edf\uff0cext3 \u652f\u6301\u5927\u6587\u4ef6\uff0cext3 \u6587\u4ef6\u7cfb\u7edf\u7684\u7279\u70b9\u6709\u5982\u4e0b\uff1a<\/p>\n

\u9ad8\u53ef\u9760\u6027\uff1a\u4f7f\u7528 ext3 \u6587\u4ef6\u7cfb\u7edf\u7684\u8bdd\uff0c\u5373\u4f7f\u7cfb\u7edf\u975e\u6b63\u5e38\u5173\u673a\u3001\u53d1\u751f\u6b7b\u673a\u7b49\u60c5\u51b5\uff0c\u6062\u590d ext3 \u6587\u4ef6\u7cfb\u7edf\u4e5f\u53ea\u9700\u8981\u6570\u5341\u79d2\u3002<\/p>\n

\u6570\u636e\u5b8c\u6574\u6027\uff1aext3 \u63d0\u9ad8\u4e86\u6587\u4ef6\u7cfb\u7edf\u7684\u5b8c\u6574\u6027\uff0c\u907f\u514d\u610f\u5916\u6b7b\u673a\u6216\u8005\u5173\u673a\u5bf9\u6587\u4ef6\u7cfb\u7edf\u7684\u4f24\u5bb3\u3002<\/p>\n

\u6587\u4ef6\u7cfb\u7edf\u901f\u5ea6\uff1aext3 \u7684\u65e5\u5fd7\u529f\u80fd\u5bf9\u78c1\u76d8\u9a71\u52a8\u5668\u8bfb\u5199\u5934\u8fdb\u884c\u4e86\u4f18\u5316\uff0c\u6587\u4ef6\u7cfb\u7edf\u901f\u5ea6\u76f8\u5bf9\u4e0e ext2\u6765\u8bf4\u6ca1\u6709\u964d\u4f4e\u3002<\/p>\n

\u6570\u636e\u8f6c\u6362\uff1a\u4ece ext2 \u8f6c\u6362\u5230ext3 \u975e\u5e38\u5bb9\u6613\uff0c\u53ea\u9700\u8981\u4e24\u6761\u6307\u4ee4\u5c31\u53ef\u4ee5\u5b8c\u6210\u8f6c\u6362\u3002\u7528\u6237\u4e0d\u9700\u8981\u82b1\u65f6\u95f4\u53bb\u5907\u4efd\u3001\u6062\u590d\u3001\u683c\u5f0f\u5316\u5206\u533a\u7b49\uff0c\u7528 ext3 \u6587\u4ef6\u7cfb\u7edf\u63d0\u4f9b\u7684\u5de5\u5177 tune2fs \u5373\u53ef\u8f7b\u677e\u7684\u5c06 ext2 \u6587\u4ef6\u7cfb\u7edf\u8f6c\u6362\u4e3a ext3 \u65e5\u5fd7\u6587\u4ef6\u7cfb\u7edf\u3002ext3 \u6587\u4ef6\u7cfb\u7edf\u4e0d\u9700\u8981\u7ecf\u8fc7\u4efb\u4f55\u4fee\u6539\uff0c\u53ef\u4ee5\u76f4\u63a5\u6302\u8f7d\u6210 ext2 \u6587\u4ef6\u7cfb\u7edf\u3002<\/p>\n

ext4 \u6587\u4ef6\u7cfb\u7edf\uff1a<\/strong><\/div>\n

ext4 \u6587\u4ef6\u7cfb\u7edf\u662f\u5728 ext3 \u4e0a\u53d1\u5c55\u8d77\u6765\u7684\uff0cext4 \u76f8\u6bd4\u4e0eext3 \u63d0\u4f9b\u4e86\u66f4\u4f73\u7684\u6027\u80fd\u548c\u53ef\u9760\u6027\uff0c\u5e76\u4e14\u529f\u80fd\u66f4\u4e30\u5bcc\uff0cext4 \u5411\u4e0b\u517c\u5bb9 ext3 \u548c ext2\uff0c\u56e0\u6b64\u53ef\u4ee5\u5c06 ext2 \u548c ext3 \u6302\u8f7d\u4e3a ext4\u3002\u90a3\u4e48\u6211\u4eec\u5b89\u88c5\u7684 Ubuntu \u4f7f\u7528\u7684\u54ea\u4e2a\u7248\u672c\u7684\u6587\u4ef6\u7cfb\u7edf\u5462\uff1f\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u5982\u4e0b\u547d\u4ee4\u6765\u67e5\u8be2\u5f53\u524d\u78c1\u76d8\u6302\u8f7d\u7684\u5565\u6587\u4ef6\u7cfb\u7edf\uff1a<\/p>\n

df -T \u2013h<\/pre>\n

\u5728Windows \u4e0b\u76f4\u63a5\u6253\u5f00C \u76d8\uff0c\u6211\u4eec\u8fdb\u5165\u7684\u5c31\u662fC \u76d8\u7684\u6839\u76ee\u5f55\uff0c\u6253\u5f00D \u76d8\u8fdb\u5165\u7684\u5c31\u662fD \u76d8\u7684\u6839\u76ee\u5f55\uff0c\u6bd4\u5982C \u76d8\u6839\u76ee\u5f55\u5982\u4e0b\uff1a
\n\"\"
\n\u5728 Linux \u4e0b\u56e0\u4e3a\u6ca1\u6709 C\u3001D \u76d8\u4e4b\u8bf4\uff0c\u56e0\u6b64 Linux \u53ea\u6709\u4e00\u4e2a\u6839\u76ee\u5f55\uff0c\u6ca1\u6709 C \u76d8\u6839\u76ee\u5f55\u3001D \u76d8\u6839\u76ee\u5f55\u4e4b\u7c7b\u7684\u3002\u5176\u5b9e\u5982\u679c\u4f60\u7684 Windows \u53ea\u6709\u4e00\u4e2a C \u76d8\u7684\u8bdd\u90a3\u4e48\u6574\u4e2a\u7cfb\u7edf\u4e5f\u5c31\u53ea\u6709\u4e00\u4e2a\u6839\u76ee\u5f55\u3002
\nWindows \u4e0b\u7684 C \u76d8\u6839\u76ee\u5f55\u5c31\u662f\u201cC:\u201d,\u5728 Linux \u4e0b\u7684\u6839\u76ee\u5f55\u5c31\u662f\u201c\/\u201d\uff0c\u4f60\u6ca1\u6709\u770b\u9519\uff0cLinux \u6839\u76ee\u5f55\u5c31\u662f\u7528\u201c\/\u201d\u6765\u8868\u793a\u7684\uff0c\u6253\u5f00 Ubuntu \u7684\u6587\u4ef6\u6d4f\u89c8\u5668\uff0c\u6587\u4ef6\u6d4f\u89c8\u5668\u5728\u5de6\u4fa7\u7684\u5bfc\u822a\u680f\uff0c\u56fe\u6807\u5982\u56fe\u6240\u793a\uff1a
\n\"\"
\n\u76f4\u63a5\u6253\u5f00\u6587\u4ef6\u6d4f\u89c8\u5668\u4ee5\u540e\uff0c\u6211\u4eec\u9ed8\u8ba4\u4e0d\u662f\u5904\u4e8e\u6839\u76ee\u5f55\u4e2d\u7684\uff0c\u4e0d\u50cfWindows\uff0c\u6211\u4eec\u76f4\u63a5\u6253\u5f00C \u76d8\u5c31\u5904\u4e8eC \u76d8\u6839\u76ee\u5f55\u4e0b\u3002Ubuntu \u662f\u652f\u6301\u591a\u7528\u6237\u7684\uff0cUbuntu \u4e3a\u6bcf\u4e2a\u7528\u6237\u521b\u5efa\u4e86\u4e00\u4e2a\u6839\u76ee\u5f55\uff0c\u6bd4\u5982\u6211\u7535\u8111\u73b0\u5728\u767b\u9646\u7684\u662f\u201czuozhongkai\u201d\u8fd9\u4e2a\u7528\u6237\uff0c\u56e0\u6b64\u9ed8\u8ba4\u8fdb\u5165\u7684\u662f\u201czuozhongkai\u201d\u8fd9\u4e2a\u7528\u6237\u7684\u6839\u76ee\u5f55\u3002\u6211\u4eec\u70b9\u51fb\u56fe\u4e2d\u5de6\u4fa7\u7684\u201c\u8ba1\u7b97\u673a\u201d\uff0c\u6253\u5f00\u4ee5\u540e\u5982\u56fe\u6240\u793a\uff1a
\n\"\"
\n\u4e0a\u56fe\u5c31\u662f Ubuntu \u7684\u6839\u76ee\u5f55\u201c\/\u201d\uff0c\u8fd9\u65f6\u5019\u80af\u5b9a\u5c31\u6709\u4eba\u6709\u7591\u95ee\uff0c\u521a\u521a\u8bf4 Ubuntu \u4f1a\u7ed9\u6bcf\u4e2a\u7528\u6237\u521b\u5efa\u4e00\u4e2a\u6839\u76ee\u5f55\uff0c\u90a3\u8fd9\u4e9b\u7528\u6237\u7684\u6839\u76ee\u5f55\u5728\u54ea\u91cc\uff1f\u662f\u4e0d\u662f\u548c\u6839\u76ee\u5f55\u201c\/\u201d\u662f\u4e00\u4e2a\u5730\u4f4d\u7684\uff1f\u5176\u5b9e\u6240\u8c13\u7684\u7ed9\u6bcf\u4e2a\u7528\u6237\u521b\u5efa\u4e00\u4e2a\u6839\u76ee\u5f55\u53ea\u662f\u65b9\u4fbf\u8bf4\u800c\u5df2\uff0c\u8fd9\u4e2a\u6240\u8c13\u7684\u7528\u6237\u6839\u76ee\u5f55\u5176\u5b9e\u5c31\u662f\u201c\/\u201d\u4e0b\u7684\u4e00\u4e2a\u6587\u4ef6\u5939\uff0c\u4ee5\u6211\u7684\u201czuozhongkai\u201d\u8fd9\u4e2a\u7528\u6237\u4e3a\u4f8b\uff0c\u5176\u7528\u6237\u6839\u76ee\u5f55\u5c31\u662f\uff1a\/home\/zuozhongkai\u3002\u53ea\u8981<\/p>\n

\u4f60\u521b\u5efa\u4e86\u4e00\u4e2a\u7528\u6237\uff0c\u90a3\u4e48\u7cfb\u7edf\u5c31\u4f1a\u5728\/home \u8fd9\u4e2a\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u4ee5\u8fd9\u4e2a\u7528\u6237\u540d\u547d\u540d\u7684\u6587\u4ef6\u5939\uff0c\u8fd9\u4e2a\u6587\u4ef6\u5939\u5c31\u662f\u8fd9\u4e2a\u7528\u6237\u7684\u6839\u76ee\u5f55\u3002<\/p>\n

\u7528\u6237\u53ef\u4ee5\u5bf9\u81ea\u5df1\u7684\u7528\u6237\u6839\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u8fdb\u884c\u968f\u610f\u7684\u8bfb\u5199\u64cd\u4f5c\uff0c\u4f46\u662f\u5982\u679c\u8981\u4fee\u6539\u6839\u76ee\u5f55\u201c\/\u201d\u4e0b\u7684\u6587\u4ef6\u5c31\u4f1a\u63d0\u793a\u6ca1\u6709\u6743\u9650\u3002\u6253\u5f00\u7ec8\u7aef\u4ee5\u540e\u9ed8\u8ba4\u8fdb\u5165\u7684\u662f\u5f53\u524d\u7528\u6237\u6839\u76ee\u5f55\uff0c\u6bd4\u5982\u6211\u4eec\u6253\u5f00\u7ec8\u7aef\u4ee5\u540e\u8f93\u5165\u201cls\u201d\u547d\u4ee4\u67e5\u770b\u5f53\u524d\u76ee\u5f55\u4e0b\u6709\u4ec0\u4e48\u6587\u4ef6\uff0c\u53ef\u4ee5\u770b\u51fa\uff0c\u90fd\u662f\u201czuozhongkai\u201d\u8fd9\u4e2a\u8d26\u6237\u7684\u6839\u76ee\u5f55\u3002\u6211\u4eec\u6765\u770b\u4e00\u4e0b\u6839\u76ee\u5f55\u201c\/\u201d\u4e0b\u90fd\u6709\u54ea\u4e9b\u6587\u4ef6\uff0c\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u5982\u4e0b\u547d\u4ee4\uff1a<\/p>\n

cd \/ \/\/\u8fdb\u5165\u5230\u6839\u76ee\u5f55\u201c\/ ls \/\/\u67e5\u770b\u6839\u76ee\u5f55\u201c\/\u201d\u4e0b\u7684\u6587\u4ef6\u4ee5\u53ca\u6587\u4ef6\u5939
\n\u6267\u884c\u4e0a\u8ff0\u4e24\u884c\u547d\u4ee4\u4ee5\u540e\uff0c\u5217\u4e3e\u51fa\u4e86\u6839\u76ee\u5f55\u201c\/\u201d\u4e0b\u9762\u7684\u6240\u6709\u6587\u4ef6\u5939\uff0c\u8fd9\u91cc\u6211\u4eec\u4ed4\u7ec6\u89c2\u5bdf\u4e00\u4e0b\uff0c\u5f53\u6211\u4eec\u8fdb\u5165\u5230\u6839\u76ee\u5f55\u201c\/\u201d\u91cc\u9762\u4ee5\u540e\u7ec8\u7aef\u63d0\u793a\u7b26\u201c$\u201d\u524d\u9762\u7684\u7b26\u53f7\u201c~\u201d\u53d8\u6210\u4e86\u201c\/\u201d\uff0c\u8fd9\u662f\u56e0\u4e3a\u5f53\u6211\u4eec\u5728\u7ec8\u7aef\u4e2d\u5207\u6362\u4e86\u76ee\u5f55\u4ee5\u540e\u201c$\u201d\u524d\u9762\u5c31\u4f1a\u663e\u793a\u5207\u6362\u4ee5\u540e\u7684\u76ee\u5f55\u8def\u5f84\u3002\u6211\u4eec\u6765\u770b\u4e00\u4e0b\u6839\u76ee\u5f55\u201c\/\u201d\u4e2d\u7684\u4e00\u4e9b\u91cd\u8981\u7684\u6587\u4ef6\u5939\uff1a<\/p>\n

\/bin \u5b58\u50a8\u4e00\u4e9b\u4e8c\u8fdb\u5236\u53ef\u6267\u884c\u547d\u4ee4\u6587\u4ef6\uff0c\/usr\/bin \u4e5f\u5b58\u653e\u4e86\u4e00\u4e9b\u57fa\u4e8e\u7528\u6237\u7684\u547d\u4ee4\u6587\u4ef6\u3002\r\n\r\n\/sbin \u5b58\u50a8\u4e86\u5f88\u591a\u7cfb\u7edf\u547d\u4ee4\uff0c\/usr\/sbin \u4e5f\u5b58\u50a8\u4e86\u8bb8\u591a\u7cfb\u7edf\u547d\u4ee4\u3002\r\n\r\n\/root \u8d85\u7ea7\u7528\u6237 root \u7684\u6839\u76ee\u5f55\u6587\u4ef6\u3002\r\n\r\n\/home \u666e\u901a\u7528\u6237\u9ed8\u8ba4\u76ee\u5f55\uff0c\u5728\u8be5\u76ee\u5f55\u4e0b\uff0c\u6bcf\u4e2a\u7528\u6237\u90fd\u6709\u4e00\u4e2a\u4ee5\u672c\u7528\u6237\u540d\u547d\u540d\u7684\u6587\u4ef6\u5939\u3002\r\n\r\n\/boot \u5b58\u653eUbuntu \u7cfb\u7edf\u5185\u6838\u548c\u7cfb\u7edf\u542f\u52a8\u6587\u4ef6\u3002\r\n\r\n\/mnt \u901a\u5e38\u5305\u62ec\u7cfb\u7edf\u5f15\u5bfc\u540e\u88ab\u6302\u8f7d\u7684\u6587\u4ef6\u7cfb\u7edf\u7684\u6302\u8f7d\u70b9\u3002\r\n\r\n\/dev \u5b58\u653e\u8bbe\u5907\u6587\u4ef6\uff0c\u6211\u4eec\u540e\u9762\u5b66\u4e60Linux \u9a71\u52a8\u4e3b\u8981\u662f\u8ddf\u8fd9\u4e2a\u6587\u4ef6\u5939\u6253\u4ea4\u9053\u7684\u3002\r\n\r\n\/etc \u4fdd\u5b58\u7cfb\u7edf\u7ba1\u7406\u6240\u9700\u7684\u914d\u7f6e\u6587\u4ef6\u548c\u76ee\u5f55\u3002\r\n\r\n\/lib \u4fdd\u5b58\u7cfb\u7edf\u7a0b\u5e8f\u8fd0\u884c\u6240\u9700\u7684\u5e93\u6587\u4ef6\uff0c\/usr\/lib \u4e0b\u5b58\u653e\u4e86\u4e00\u4e9b\u7528\u4e8e\u666e\u901a\u7528\u6237\u7684\u5e93\u6587\u4ef6\u3002\r\n\r\n\/lost found \u4e00\u822c\u4e3a\u7a7a\uff0c\u5f53\u7cfb\u7edf\u975e\u6b63\u5e38\u5173\u673a\u4ee5\u540e\uff0c\u6b64\u6587\u4ef6\u5939\u4f1a\u4fdd\u5b58\u4e00\u4e9b\u96f6\u6563\u6587\u4ef6\u3002\r\n\r\n\/var \u5b58\u50a8\u4e00\u4e9b\u4e0d\u65ad\u53d8\u5316\u7684\u6587\u4ef6\uff0c\u6bd4\u5982\u65e5\u5fd7\u6587\u4ef6\r\n\r\n\/usr \u5305\u62ec\u4e0e\u7cfb\u7edf\u7528\u6237\u76f4\u63a5\u6709\u5173\u7684\u6587\u4ef6\u548c\u76ee\u5f55\uff0c\u6bd4\u5982\u5e94\u7528\u7a0b\u5e8f\u548c\u6240\u9700\u7684\u5e93\u6587\u4ef6\u3002\r\n\r\n\/media \u5b58\u653eUbuntu \u7cfb\u7edf\u81ea\u52a8\u6302\u8f7d\u7684\u8bbe\u5907\u6587\u4ef6\u3002\r\n\r\n\/proc \u865a\u62df\u76ee\u5f55\uff0c\u4e0d\u5b9e\u9645\u5b58\u50a8\u5728\u78c1\u76d8\u4e0a\uff0c\u901a\u5e38\u7528\u6765\u4fdd\u5b58\u7cfb\u7edf\u4fe1\u606f\u548c\u8fdb\u7a0b\u4fe1\u606f\u3002\r\n\r\n\/tmp \u5b58\u50a8\u7cfb\u7edf\u548c\u7528\u6237\u7684\u4e34\u65f6\u6587\u4ef6\uff0c\u8be5\u6587\u4ef6\u5939\u5bf9\u6240\u6709\u7684\u7528\u6237\u90fd\u63d0\u4f9b\u8bfb\u5199\u6743\u9650\u3002\r\n\r\n\/opt \u53ef\u9009\u6587\u4ef6\u548c\u7a0b\u5e8f\u7684\u5b58\u653e\u76ee\u5f55\u3002\r\n\r\n\/sys \u7cfb\u7edf\u8bbe\u5907\u548c\u6587\u4ef6\u5c42\u6b21\u7ed3\u6784\uff0c\u5e76\u5411\u7528\u6237\u7a0b\u5e8f\u63d0\u4f9b\u8be6\u7ec6\u7684\u5185\u6838\u6570\u636e\u4fe1\u606f\u3002<\/pre>\n","protected":false},"excerpt":{"rendered":"

\u64cd\u4f5c\u7cfb\u7edf\u5c31\u662f\u5904\u7406\u5404\u79cd\u6570\u636e\u7684\uff0c\u8fd9\u4e9b\u6570\u636e\u5728\u786c\u76d8\u4e0a\u5c31\u662f\u4e8c\u8fdb\u5236\uff0c\u4eba\u7c7b\u80af\u5b9a\u4e0d\u80fd\u76f4\u63a5\u770b\u61c2\u8fd9\u4e9b\u4e8c\u8fdb\u5236\u6570\u636e\uff0c\u8981\u6709\u4e00\u4e2a\u7ffb\u8bd1\u5668\uff0c\u5c06 […]<\/p>\n","protected":false},"author":1893,"featured_media":161953,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-161948","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/161948","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1893"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=161948"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/161948\/revisions"}],"predecessor-version":[{"id":162071,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/161948\/revisions\/162071"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/161953"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=161948"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=161948"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=161948"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}