{"id":275695,"date":"2023-06-24T04:13:16","date_gmt":"2023-06-23T20:13:16","guid":{"rendered":"https:\/\/lrxjmw.cn\/gylxtxcjmldm.html"},"modified":"2023-06-24T04:13:16","modified_gmt":"2023-06-23T20:13:16","slug":"gylxtxcjmldm","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/gylxtxcjmldm.html","title":{"rendered":"\u5173\u4e8eLinux\u7cfb\u7edf\u4e0b\u521b\u5efa\u76ee\u5f55\u7684mkdir"},"content":{"rendered":"

\u672c\u7bc7\u6587\u7ae0\u4ecb\u7ecd\u4e86\u5728Linux<\/a>\u4e0b\u7528mkdir\u547d\u4ee4<\/a>\u6765\u521b\u5efa\u76ee\u5f55\u548c\u5b50\u76ee\u5f55\u7684\u7528\u6cd5linux\u7cfb\u7edf<\/a>\u4e0b\u5efa\u7acb\u7528\u6237\u547d\u4ee4\u662f\u4ec0\u4e48<\/strong>\uff0c\u5982\u4eca\u6211\u4eec\u8981\u5b66\u4e60\u5728Linux\u7cfb\u7edf\u4e0b\u521b\u5efa\u76ee\u5f55\u3002\u5728Linux\u4e0b\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528mkdir\u547d\u4ee4\u3002Mkdir\u662f\u201cmakedirectory\u201d\u7684\u7b80\u5199\u8bcd\u3002<\/p>\n

mkdir\u662f\u54ea\u4e9b\u5462<\/p>\n

Mkdir\u662f\u4e00\u4e2a\u62ff\u6765\u5728Linux\u7cfb\u7edf\u4e0b\u521b\u5efa\u76ee\u5f55\u7684\u547d\u4ee4\u3002\u6b64\u547d\u4ee4\u5c5e\u4e8e\u5185\u5efa\u547d\u4ee4\u3002<\/p>\n

\u8fd0\u884cmkdir\u547d\u4ee4<\/p>\n

\u4f60\u53ef\u4ee5\u5728\u4f60\u7684\u63a7\u5236\u53f0\u76f4\u63a5\u952e\u5165mkdir\u6765\u4f7f\u7528\u5b83\u3002<\/p>\n

\n

\n$ mkdir<\/pre>\n<\/p>\n

\u9ed8\u8ba4\u60c5\u51b5\u4e0blinux\u683c\u5f0f\u5316\u547d\u4ee4\uff0c\u4e0d\u5e26\u4efb\u4f55\u53c2\u6570\u8fd0\u884cmkdir\u547d\u4ee4\u4f1a\u5728\u5f53\u524d\u76ee\u5f55\u4e0b\u521b\u5efa\u76ee\u5f55\u3002\u4e0b\u8fb9\u662f\u53c2\u8003\u793a\u4f8b\uff1a<\/p>\n

\u4ece\u4e0a\u56fe\u770b\u51fa\uff0c\u6211\u4eec\u521b\u5efa\u4e86\u540d\u4e3aoffice\u7684\u76ee\u5f55\u3002\u5f53\u6211\u4eec\u8fd0\u884cmkdir\u547d\u4ee4\u65f6linux\u5185\u6838\uff0c\u6211\u4eec\u5750\u843d\/home\/pungki\u76ee\u5f55\u3002\u6240\u4ee5\u8fd9\u4e2a\u65b0\u76ee\u5f55office\u521b\u5efa\u5728\/home\/pungki\u76ee\u5f55\u4e0b\u3002\u5047\u5982\u6211\u4eec\u4f7f\u7528\u7edd\u5bf9\u8def\u5f84-\u6bd4\u5982\uff1a\/usr\/local-,\u5219Linux\u4f1a\u5728\/usr\/local\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u76ee\u5f55\u3002<\/p>\n

\u5f53Linux\u53d1\u89c9\u60f3\u8981\u521b\u5efa\u7684\u76ee\u5f55\u65e9\u5df2\u5b58\u5728,\u8fd9\u4e48Linux\u4f1a\u63d0\u793a\u6211\u4eecLinux\u96be\u4ee5\u521b\u5efa\u5b83\u3002<\/p>\n

\u53e6\u5916\u4e00\u4e2a\u521b\u5efa\u76ee\u5f55\u7684\u9996\u8981\u6761\u4ef6\u662f\uff0c\u5728\u60f3\u8981\u521b\u5efa\u76ee\u5f55\u7684\u76ee\u6807\u8def\u5f84\u4e0b\u4f60\u5fc5\u987b\u5177\u6709\u8bbf\u95ee\u6743\u9650\u3002\u5f53\u4f60\u6ca1\u6cd5\u53d6\u5f97\u6743\u9650\u65f6mkdir\u4f1a\u62a5\u544a\u8fd9\u4e2a\u9519\u8bef\u3002<\/p>\n

\u521b\u5efa\u591a\u4e2a\u76ee\u5f55<\/p>\n

\u6211\u4eec\u4e5f\u53ef\u4ee5\u540c\u65f6\u521b\u5efa\u591a\u4e2a\u76ee\u5f55\u3002\u4f8b\u5982\u6211\u4eec\u8981\u521b\u5efa\u7684\u76ee\u5f55\u6709ubuntu,redhat\u548cslackware\u3002\u8fd9\u4e48\u53e5\u578b\u4f1a\u50cf\u8fd9\u6837\u5b50:<\/p>\n

\n

\n$ mkdir ubuntu redhat slackware<\/pre>\n<\/p>\n

\u6dfb\u52a0\u5305\u542b\u5b50\u76ee\u5f55\u7684\u76ee\u5f55[\u8bc4\u6ce8\uff1a\u9012\u5f52\u5730\u521b\u5efa\u76ee\u5f55]<\/p>\n

\u5f53\u4f60\u8981\u521b\u5efa\u7684\u76ee\u5f55\u5305\u542b\u5b50\u76ee\u5f55\u65f6linux\u7cfb\u7edf\u4e0b\u5efa\u7acb\u7528\u6237\u547d\u4ee4\u662f\u4ec0\u4e48<\/strong>\uff0c\u4f60\u987b\u8981\u4f7f\u7528-p\u53c2\u6570\u3002\u5047\u5982mkdir\u627e\u4e0d\u5230\u7236\u76ee\u5f55\uff0c\u8fd9\u4e48\u8fd9\u4e2a\u53c2\u6570\u4f1a\u9996\u5148\u5e2e\u52a9\u521b\u5efa\u7236\u76ee\u5f55\u3002\u4f8b\u5982\u8bf4\u6211\u4eec\u8981\u521b\u5efa\u540d\u4e3aletter\u7684\u76ee\u5f55\uff0c\u5728\u5b83\u7684\u76ee\u5f55\u4e0b\u5305\u542b\u6709\u5b50\u76ee\u5f55important\u3002\u8fd9\u4e48\u53e5\u578b\u4f1a\u50cf\u8fd9\u6837\u5b50\uff1a<\/p>\n

\n

\n$ mkdir -p letter\/important<\/pre>\n<\/p>\n

linux\u7cfb\u7edf\u4e0b\u5efa\u7acb\u7528\u6237\u547d\u4ee4\u662f\u4ec0\u4e48_linux\u5efa\u7acb\u6587\u4ef6\u5939\u547d\u4ee4_linux\u7cfb\u7edf\u4e0b\u5efa\u7acb\u7528\u6237\u547d\u4ee4\u662f\u4ec0\u4e48<\/p>\n

\u8bbe\u7f6e\u8bbf\u95ee\u6743\u9650<\/p>\n

\u4f7f\u7528-m\u53c2\u6570\uff0c\u6211\u4eec\u53ef\u4ee5\u7ed9\u6b63\u5f0f\u751f\u6210\u7684\u65b0\u76ee\u5f55\u8bbe\u7f6e\u6743\u9650\u3002\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n

\n

\n$ mkdir -m=r-- letter<\/pre>\n<\/p>\n

\u91cc\u9762\u7684\u547d\u4ee4\u4f1a\u521b\u5efa\u4e00\u4e2a\u540d\u4e3aletter\u7684\u76ee\u5f55\uff0c\u540c\u65f6\u4e3a\u76ee\u5f55\u6240\u6709\u8005\u3001\u7528\u6237\u7ec4\u548c\u5176\u4ed6\u7528\u6237\u9488\u5bf9\u8be5\u76ee\u5f55\u8d4b\u4e8e\u53ea\u8bfb\u6743\u9650<\/p>\n

\u590d\u5370\u521b\u5efa\u76ee\u5f55\u7684\u8fc7\u7a0b\u4fe1\u606f<\/p>\n

\u5047\u5982\u6211\u4eec\u8981\u67e5\u770b\u4fe1\u606f\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528-v\u53c2\u6570\u6765\u5b9e\u73b0\u3002\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n

\n

\n$ mkdir -v ubuntu redhat slackware<\/pre>\n<\/p>\n

\u603b\u7ed3<\/p>\n

Mkdir\u547d\u4ee4\u4e5f\u5c5e\u4e8e\u4e00\u4e2a\u6700\u57fa\u7840\u7684\u547d\u4ee4\uff0c\u5bf9\u4e8e\u60f3\u8981\u5b66\u4e60Linux\u7684\u540c\u5b66\u8fd9\u4e2a\u547d\u4ee4\u5fc5\u987b\u628a\u63e1\u3002\u50cf\u5f80\u5e38\u4e00\u6837\uff0c\u4f60\u53ef\u4ee5\u952e\u5165manmkdir\u6216mkdir--help\u6765\u663e\u793amkdir\u7684\u6307\u5357\u9875\u9762\u548c\u6108\u52a0\u6df1\u5165\u7684\u9610\u8ff0\u3002<\/p>\n

\u4ee5\u4e0a\u5c31\u662f\u672c\u6587\u7684\u5168\u90e8\u5185\u5bb9\uff0c\u5e0c\u671b\u5bf9\u4f60\u4eec\u7684\u5b66\u4e60\u6709\u6240\u5e2e\u52a9\uff0c\u4e5f\u5e0c\u671b\u4f60\u4eec\u591a\u591a\u652f\u6301\u5450\u558a\u6559\u7a0b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u7cfb\u7edf\u4e0b\u521b\u5efa\u76ee\u5f55\u3002\u7cfb\u7edf\u4e0b\u521b\u5efa\u76ee\u5f55\u7684\u547d\u4ee4\u3002\u547d\u4ee4\u4f1a\u5728\u5f53\u524d\u76ee\u5f55\u4e0b\u521b\u5efa\u76ee\u5f55\u3002\u521b\u5efa\u5728\/home\/pungki\u76ee\u5f55\u4e0b\u3002\u5728\u60f3\u8981\u521b\u5efa\u76ee\u5f55\u7684\u76ee\u6807\u8def\u5f84\u4e0b\u4f60\u5fc5\u987b\u5177\u6709\u8bbf\u95ee\u6743\u9650\u3002\u6211\u4eec\u4e5f\u53ef\u4ee5\u540c\u65f6\u521b\u5efa\u591a\u4e2a\u76ee\u5f55\u3002[\u8bd1\u6ce8\uff1a\u9012\u5f52\u5730\u521b\u5efa\u76ee\u5f55]\u627e\u4e0d\u5230\u7236\u76ee\u5f55\uff0c\u90a3\u4e48\u8fd9\u4e2a\u53c2\u6570\u4f1a\u9996\u5148\u5e2e\u52a9\u521b\u5efa\u7236\u76ee\u5f55\u3002\u53c2\u6570\uff0c\u6211\u4eec\u53ef\u4ee5\u7ed9\u5373\u5c06\u751f\u6210\u7684\u65b0\u76ee\u5f55\u8bbe\u7f6e\u6743\u9650\u3002\u7684\u76ee\u5f55\uff0c\u540c\u65f6\u4e3a\u76ee\u5f55\u6240\u6709\u8005\u3001\u7528\u6237\u7ec4\u548c\u5176\u4ed6\u7528\u6237\u9488\u5bf9\u8be5\u76ee\u5f55\u8d4b\u4e88\u53ea\u8bfb\u6743\u9650\u6253\u5370\u521b\u5efa\u76ee\u5f55\u7684\u8fc7\u7a0b\u4fe1\u606f\u53c2\u6570\u6765\u5b9e\u73b0\u3002<\/p>\n","protected":false},"author":1,"featured_media":275696,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-275695","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/275695","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=275695"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/275695\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/275696"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=275695"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=275695"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=275695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}