{"id":294094,"date":"2024-11-01T20:05:54","date_gmt":"2024-11-01T12:05:54","guid":{"rendered":"https:\/\/lrxjmw.cn\/zwlxtzsymldk.html"},"modified":"2024-11-01T20:05:54","modified_gmt":"2024-11-01T12:05:54","slug":"zwlxtzsymldk","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/zwlxtzsymldk.html","title":{"rendered":"\u638c\u63e1 Linux \u7cfb\u7edf\u4e2d\u4f7f\u7528\u547d\u4ee4\u6253\u5f00\u6587\u4ef6\u5939\u7684\u6280\u5de7\uff0c\u63d0\u5347\u5de5\u4f5c\u6548\u7387"},"content":{"rendered":"

\u5728Linux<\/a>\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0c\u638c\u63e1\u4f7f\u7528\u547d\u4ee4<\/a>\u6253\u5f00\u6587\u4ef6\u5939\u7684\u6280\u5de7\u81f3\u5173\u91cd\u8981\u3002\u8fd9\u4e00\u6280\u80fd\u5bf9\u4e8e\u9891\u7e41\u4f7f\u7528Linux<\/a>\u7684\u7528\u6237\u800c\u8a00\uff0c\u867d\u5c5e\u65e5\u5e38\u64cd\u4f5c\u7684\u5e38\u89c4\u73af\u8282\uff0c\u5374\u4e0d\u53ef\u6216\u7f3a\u3002\u5b83\u663e\u8457\u63d0\u5347\u4e86\u5de5\u4f5c\u6548\u7387\u3002<\/p>\n

cd\u547d\u4ee4\u57fa\u672c\u7528\u6cd5<\/b><\/p>\n

Linux\u7cfb\u7edf\u7684cd\u547d\u4ee4\u662f\u7528\u6765\u6539\u53d8\u5de5\u4f5c\u76ee\u5f55\u7684\uff0c\u5b83\u76f8\u5f53\u4e8e\u6253\u5f00\u4e00\u4e2a\u6587\u4ef6\u5939\u3002\u4f8b\u5982\uff0c\u82e5\u8981\u8fdb\u5165\u7cfb\u7edf\u6839\u76ee\u5f55\uff0c\u53ea\u9700\u8f93\u5165\u201ccd\/\u201d\u3002\u8fd9\u6837\u7684\u64cd\u4f5c\u65e2\u7b80\u5355\u53c8\u76f4\u63a5\u3002\u82e5\u9700\u8bbf\u95ee\u5f53\u524d\u7528\u6237\u7684\u4e3b\u76ee\u5f55\uff0c\u53ea\u9700\u8f93\u5165\u201ccd~\u201d\u3002\u8fd9\u4e24\u4e2a\u547d\u4ee4\u90fd\u662f\u57fa\u7840\u4e14\u9891\u7e41\u4f7f\u7528\u7684\u3002\u5728\u5904\u7406\u6587\u4ef6\u6216\u5b89\u88c5\u8f6f\u4ef6\u65f6\uff0c\u6211\u4eec\u5e38\u9700\u5728\u4e0d\u540c\u76ee\u5f55\u95f4\u5207\u6362\uff0c\u8fd9\u65f6cd\u547d\u4ee4\u5c31\u663e\u5f97\u5c24\u4e3a\u5b9e\u7528\u3002<\/p>\n

cd\u547d\u4ee4\u8fd8\u80fd\u548c\u76f8\u5bf9\u8def\u5f84\u4e00\u8d77\u4f7f\u7528\u3002\u4e3e\u4f8b\u6765\u8bf4\uff0c\u82e5\u4f60\u8eab\u5904\u201c\/home\/user1\u201d\u8fd9\u4e2a\u76ee\u5f55\u4e2d\uff0c\u60f3\u8981\u8fdb\u5165\u5176\u4e0b\u7684\u201cdocuments\u201d\u6587\u4ef6\u5939\uff0c\u53ea\u9700\u8f93\u5165\u201ccddocuments\u201d\u5373\u53ef\u3002\u8fd9\u6837\u505a\u5728\u540c\u4e00\u5c42\u7ea7\u76ee\u5f55\u95f4\u5207\u6362\u6587\u4ef6\u5939\u7279\u522b\u4fbf\u6377\u3002<\/p>\n

\u6253\u5f00\u6587\u4ef6\u547d\u4ee4linux_linux\u547d\u4ee4\u884c\u6253\u5f00\u6587\u4ef6\u5939_linux\u547d\u4ee4\u6253\u5f00\u6587\u4ef6\u5939<\/p>\n

\u5b8c\u6574\u8def\u5f84\u6253\u5f00\u6587\u4ef6\u5939<\/b><\/p>\n

\u6709\u65f6\u5019\uff0c\u6211\u4eec\u6e05\u695a\u6587\u4ef6\u5939\u7684\u5b8c\u6574\u8def\u5f84\uff0c\u4fbf\u60f3\u76f4\u63a5\u6253\u5f00\u5b83\u3002\u8fd9\u65f6\uff0c\u53ea\u9700\u7528cd\u547d\u4ee4\u52a0\u4e0a\u8def\u5f84\u5373\u53eflinux\u547d\u4ee4\u6253\u5f00\u6587\u4ef6\u5939<\/strong>\uff0c\u4f8b\u5982\u8f93\u5165\u201ccd\/var\/log\/\u201d\uff0c\u5c31\u80fd\u76f4\u63a5\u8fdb\u5165\u201c\/var\/log\u201d\u8fd9\u4e2a\u6587\u4ef6\u5939\u3002\u5f53\u786e\u5207\u77e5\u9053\u6587\u4ef6\u5939\u6240\u5728\u4f4d\u7f6e\u65f6\uff0c\u8fd9\u79cd\u65b9\u6cd5\u65e2\u5feb\u53c8\u76f4\u63a5\u3002<\/p>\n

\u5feb\u901f\u627e\u5230\u7cfb\u7edf\u4e2d\u7684\u7279\u5b9a\u65e5\u5fd7\u6216\u914d\u7f6e\u6587\u4ef6\u5939\uff0c\u76f4\u63a5\u4f7f\u7528\u5b8c\u6574\u8def\u5f84\u6700\u4e3a\u4fbf\u6377\u3002\u5728\u7f16\u5199\u811a\u672c\u65f6\uff0c\u8fd9\u4e00\u70b9\u5c24\u4e3a\u5e38\u89c1\u3002\u811a\u672c\u82e5\u9700\u5bf9\u7279\u5b9a\u6587\u4ef6\u5939\u5185\u7684\u6587\u4ef6\u8fdb\u884c\u64cd\u4f5c\uff0c\u7cbe\u786e\u7684\u5b8c\u6574\u8def\u5f84\u81f3\u5173\u91cd\u8981\uff0c\u5b83\u80fd\u4fdd\u8bc1\u64cd\u4f5c\u7684\u51c6\u786e\u6027\u3002\u7136\u800c\uff0c\u5b8c\u6574\u8def\u5f84\u901a\u5e38\u8f83\u957f\uff0c\u8f93\u5165\u65f6\u9700\u683c\u5916\u5c0f\u5fc3\u3002\u82e5\u4e0d\u5c0f\u5fc3\u8f93\u5165\u9519\u8bef\uff0c\u5c31\u53ef\u80fd\u65e0\u6cd5\u5230\u8fbe\u6b63\u786e\u7684\u76ee\u7684\u5730\u3002<\/p>\n

\u4f7f\u7528tab\u952e\u8865\u5168\u8def\u5f84<\/b><\/p>\n

\u8f93\u5165\u6587\u4ef6\u5939\u8def\u5f84\u65f6\uff0ctab\u952e\u7684\u81ea\u52a8\u8865\u5168\u529f\u80fd\u7279\u522b\u6709\u7528\u3002\u6bd4\u5982\uff0c\u5f53\u4f60\u60f3\u8fdb\u5165\u201c\/usr\/share\/applications\u201d\u8fd9\u4e2a\u6587\u4ef6\u5939\uff0c\u8f93\u5165\u201ccd\/u\u201d\u540e\u6309\u4e0btab\u952e\uff0c\u5982\u679c\u4ee5\u201cu\u201d\u5f00\u5934\u7684\u76ee\u5f55\u53ea\u6709\u4e00\u4e2a\uff0c\u5b83\u5c31\u4f1a\u81ea\u52a8\u5b8c\u6210\u8865\u5168\u3002\u5982\u679c\u4ee5\u201cu\u201d\u5f00\u5934\u7684\u76ee\u5f55\u4e0d\u6b62\u4e00\u4e2a\uff0c\u518d\u6309\u4e00\u6b21tab\u952e\uff0c\u5c31\u4f1a\u663e\u793a\u6240\u6709\u4ee5\u201cu\u201d\u5f00\u5934\u7684\u76ee\u5f55\uff0c\u8ba9\u4f60\u6311\u9009\u3002<\/p>\n

\u5728\u5b9e\u9645\u64cd\u4f5c\u4e2d\uff0c\u8fd9\u63d0\u4f9b\u4e86\u6781\u5927\u7684\u4fbf\u5229\u3002\u5b83\u4e0d\u4ec5\u80fd\u663e\u8457\u964d\u4f4e\u8f93\u5165\u9519\u8bef\uff0c\u8fd8\u6781\u5927\u5730\u63d0\u5347\u4e86\u8f93\u5165\u6548\u7387\u3002\u7279\u522b\u662f\u5728\u5904\u7406\u590d\u6742\u7684\u8def\u5f84\u65f6\uff0c\u624b\u52a8\u8f93\u5165\u6781\u6613\u51fa\u9519\uff0c\u800c\u4f7f\u7528tab\u952e\u81ea\u52a8\u8865\u5168\u5219\u53d8\u5f97\u7b80\u5355\u8bb8\u591a\u3002\u7136\u800c\uff0c\u82e5\u6587\u4ef6\u7cfb\u7edf\u51fa\u73b0\u635f\u574f\u6216\u6743\u9650\u4e0d\u8db3\uff0ctab\u952e\u8865\u5168\u529f\u80fd\u53ef\u80fd\u4f1a\u51fa\u73b0\u5f02\u5e38\u3002<\/p>\n

\u8fd4\u56de\u4e0a\u4e00\u7ea7\u548c\u4e0a\u51e0\u7ea7\u76ee\u5f55<\/b><\/p>\n

\u8fdb\u5165\u67d0\u4e2a\u6587\u4ef6\u5939\u8fdb\u884c\u64cd\u4f5c\u540e\uff0c\u82e5\u60f3\u8fc5\u901f\u8fd4\u56de\u4e0a\u4e00\u7ea7\u76ee\u5f55\uff0c\u53ea\u9700\u6267\u884c\u547d\u4ee4\u201ccd..\u201d\u3002\u82e5\u9700\u8df3\u81f3\u4e0a\u4e24\u7ea7\u76ee\u5f55\uff0c\u8bf7\u8f93\u5165\u201ccd..\/..\/\u201d\u3002<\/p>\n

\u5728\u5b9e\u9645\u64cd\u4f5c\u4e2d\uff0c\u82e5\u6211\u4eec\u6df1\u5165\u591a\u5c42\u6587\u4ef6\u5939\u5bfb\u627e\u7279\u5b9a\u6587\u4ef6\uff0c\u4e00\u65e6\u627e\u5230\u76ee\u6807\u6216\u786e\u8ba4\u76ee\u6807\u4e0d\u5728\u5f53\u524d\u5c42\u7ea7\u65f6\uff0c\u4fbf\u53ef\u901a\u8fc7\u8fd9\u4e24\u4e2a\u7b80\u4fbf\u7684\u6307\u4ee4\u8fc5\u901f\u56de\u5230\u4e0a\u4e00\u7ea7\u76ee\u5f55\u3002\u4f46\u9700\u7559\u610f\u8def\u5f84\u4e2d\u201c..\/\u201d\u7684\u6570\u91cf\u9700\u4e0e\u6b32\u8fd4\u56de\u7684\u4e0a\u7ea7\u76ee\u5f55\u5c42\u7ea7\u76f8\u5339\u914d\u3002<\/p>\n

linux\u547d\u4ee4\u884c\u6253\u5f00\u6587\u4ef6\u5939_linux\u547d\u4ee4\u6253\u5f00\u6587\u4ef6\u5939_\u6253\u5f00\u6587\u4ef6\u547d\u4ee4linux<\/p>\n

\u6253\u5f00\u9690\u85cf\u6587\u4ef6\u5939<\/b><\/p>\n

\u5728Linux\u7cfb\u7edf\u4e2dlinux\u547d\u4ee4\u6253\u5f00\u6587\u4ef6\u5939<\/strong>\uff0c\u6587\u4ef6\u5939\u82e5\u4ee5\u201c.\u201d\u5f00\u5934\uff0c\u5219\u88ab\u89c6\u4e3a\u9690\u85cf\u3002\u82e5\u9700\u8bbf\u95ee\u6b64\u7c7b\u6587\u4ef6\u5939\uff0c\u53ef\u4f7f\u7528\u201ccd.\u6587\u4ef6\u5939\u540d\u201d\u7684\u547d\u4ee4\u3002\u6bd4\u5982\uff0c\u82e5\u60f3\u6253\u5f00\u5f53\u524d\u76ee\u5f55\u4e2d\u7684\u9690\u85cf\u6587\u4ef6\u5939\u201c.config\u201d\uff0c\u53ea\u9700\u8f93\u5165\u201ccd.config\u201d\u5373\u53ef\u3002<\/p>\n

\u4f17\u591a\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6\u85cf\u533f\u4e8e\u9690\u853d\u7684\u6587\u4ef6\u5939\u4e2d\uff0c\u56e0\u6b64\u719f\u6089\u8fd9\u4e00\u547d\u4ee4\u5bf9\u4e8e\u641c\u7d22\u548c\u8c03\u6574\u7cfb\u7edf\u914d\u7f6e\u4fe1\u606f\u81f3\u5173\u91cd\u8981\u3002\u6b64\u5916\uff0c\u5728\u4f17\u591a\u5f00\u53d1\u573a\u666f\u4e2d\uff0c\u8fd9\u4e9b\u9690\u853d\u6587\u4ef6\u5939\u5e38\u5b58\u653e\u7740\u4e13\u7528\u5de5\u5177\u7684\u914d\u7f6e\u8d44\u6599\u3002\u7136\u800c\uff0c\u82e5\u4e0d\u614e\u66f4\u6539\u4e86\u8fd9\u4e9b\u6587\u4ef6\u5939\u4e2d\u7684\u5173\u952e\u914d\u7f6e\u6587\u4ef6\uff0c\u7cfb\u7edf\u6216\u8f6f\u4ef6\u7684\u8fd0\u884c\u53ef\u80fd\u4f1a\u51fa\u73b0\u5f02\u5e38\u3002<\/p>\n

\u6253\u5f00\u6587\u4ef6\u547d\u4ee4linux_linux\u547d\u4ee4\u6253\u5f00\u6587\u4ef6\u5939_linux\u547d\u4ee4\u884c\u6253\u5f00\u6587\u4ef6\u5939<\/p>\n

\u7279\u6b8a\u5b57\u7b26\u7684\u5904\u7406<\/b><\/p>\n

\u5728\u4f7f\u7528cd\u547d\u4ee4\u5207\u6362\u6587\u4ef6\u5939\u65f6\uff0c\u82e5\u6587\u4ef6\u5939\u540d\u79f0\u5305\u542b\u7279\u6b8a\u5b57\u7b26\uff0c\u9700\u683c\u5916\u7559\u610f\u3002\u4f8b\u5982linux\u4e2d\u6587\u4e71\u7801\uff0c\u82e5\u6587\u4ef6\u5939\u540d\u4e2d\u5305\u542b\u7a7a\u683clinux \u5173\u673a\u547d\u4ee4\uff0c\u5c31\u5fc5\u987b\u5c06\u6587\u4ef6\u5939\u540d\u7528\u5f15\u53f7\u62ec\u8d77\u6765\uff0c\u4f8b\u5982\uff1a\u201ccd'MyFolder'\u201d\u3002<\/p>\n

\u5728\u5b9e\u9645\u64cd\u4f5c\u4e2d\uff0c\u4f7f\u7528\u8005\u5f80\u5f80\u5bb9\u6613\u5ffd\u89c6\u8fd9\u4e00\u70b9\u3002\u82e5\u672a\u59a5\u5584\u5904\u7406\u7279\u6b8a\u5b57\u7b26\uff0c\u547d\u4ee4\u6267\u884c\u4fbf\u4f1a\u5931\u8d25\u3002\u66f4\u751a\u8005\uff0c\u82e5\u6587\u4ef6\u5939\u4e2d\u5305\u542b\u7684\u662fshell\u4fdd\u7559\u7684\u7279\u6b8a\u5b57\u7b26\uff0c\u8f6c\u4e49\u64cd\u4f5c\u4fbf\u6210\u4e86\u5fc5\u8981\u4e4b\u4e3e\u3002\u6211\u60f3\u8bf7\u6559\u5404\u4f4d\uff0c\u5728\u4f7f\u7528Linux\u547d\u4ee4\u6253\u5f00\u6587\u4ef6\u5939\u65f6\uff0c\u662f\u5426\u9047\u5230\u8fc7\u56e0\u7279\u6b8a\u5b57\u7b26\u800c\u5f15\u53d1\u7684\u95ee\u9898\uff1f\u671f\u5f85\u5927\u5bb6\u7684\u70b9\u8d5e\u4e0e\u5206\u4eab\uff0c\u66f4\u6b22\u8fce\u5728\u8bc4\u8bba\u533a\u5206\u4eab\u60a8\u7684\u7ecf\u9a8c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728Linux\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0c\u638c\u63e1\u4f7f\u7528\u547d\u4ee4\u6253\u5f00\u6587\u4ef6\u5939\u7684\u6280\u5de7\u81f3\u5173\u91cd\u8981\u3002Linux\u7cfb\u7edf\u7684cd\u547d\u4ee4\u662f\u7528\u6765\u6539\u53d8\u5de5\u4f5c\u76ee\u5f55\u7684\uff0c\u5b83\u76f8\u5f53\u4e8e\u6253\u5f00\u4e00\u4e2a\u6587\u4ef6\u5939\u3002\u5728\u5b9e\u9645\u64cd\u4f5c\u4e2d\uff0c\u82e5\u6211\u4eec\u6df1\u5165\u591a\u5c42\u6587\u4ef6\u5939\u5bfb\u627e\u7279\u5b9a\u6587\u4ef6\uff0c\u4e00\u65e6\u627e\u5230\u76ee\u6807\u6216\u786e\u8ba4\u76ee\u6807\u4e0d\u5728\u5f53\u524d\u5c42\u7ea7\u65f6\uff0c\u4fbf\u53ef\u901a\u8fc7\u8fd9\u4e24\u4e2a\u7b80\u4fbf\u7684\u6307\u4ee4\u8fc5\u901f\u56de\u5230\u4e0a\u4e00\u7ea7\u76ee\u5f55\u3002<\/p>\n","protected":false},"author":1,"featured_media":294095,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[3999,109,3898,4000,3418],"class_list":["post-294094","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-cml-6","tag-linux","tag-gzml","tag-zdbq","tag-yzwjj"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294094","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=294094"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294094\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/294095"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=294094"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=294094"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=294094"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}