{"id":210663,"date":"2023-12-22T07:32:15","date_gmt":"2023-12-21T23:32:15","guid":{"rendered":"https:\/\/www.idc.net\/help\/210663\/"},"modified":"2023-12-22T07:32:15","modified_gmt":"2023-12-21T23:32:15","slug":"linux-%e5%91%bd%e4%bb%a4%ef%bc%9alink-%e8%b0%83%e7%94%a8-link-%e5%87%bd%e6%95%b0%e5%88%9b%e5%bb%ba%e6%96%87%e4%bb%b6%e7%9a%84%e9%93%be%e6%8e%a5","status":"publish","type":"post","link":"https:\/\/idc.net\/help\/210663\/","title":{"rendered":"Linux \u547d\u4ee4\uff1alink &#8211; \u8c03\u7528 link \u51fd\u6570\u521b\u5efa\u6587\u4ef6\u7684\u94fe\u63a5"},"content":{"rendered":"<p><title id=\"linux-%e5%91%bd%e4%bb%a4%ef%bc%9alink-%e8%b0%83%e7%94%a8-link-%e5%87%bd%e6%95%b0%e5%88%9b%e5%bb%ba%e6%96%87%e4%bb%b6%e7%9a%84%e9%93%be%e6%8e%a5-cZtxtmoYjg\">Linux \u547d\u4ee4\uff1alink - \u8c03\u7528 link \u51fd\u6570\u521b\u5efa\u6587\u4ef6\u7684\u94fe\u63a5<\/title><\/p>\n<h1 id=\"linux-%e5%91%bd%e4%bb%a4%ef%bc%9alink-%e8%b0%83%e7%94%a8-link-%e5%87%bd%e6%95%b0%e5%88%9b%e5%bb%ba%e6%96%87%e4%bb%b6%e7%9a%84%e9%93%be%e6%8e%a5-cZtxtmoYjg\">Linux \u547d\u4ee4\uff1alink - \u8c03\u7528 link \u51fd\u6570\u521b\u5efa\u6587\u4ef6\u7684\u94fe\u63a5<\/h1>\n<p>\u5728Linux\u7cfb\u7edf\u4e2d\uff0clink\u547d\u4ee4\u7528\u4e8e\u521b\u5efa\u6587\u4ef6\u7684\u786c\u94fe\u63a5\u3002\u786c\u94fe\u63a5\u662f\u6307\u591a\u4e2a\u6587\u4ef6\u540d\u6307\u5411\u540c\u4e00\u4e2a\u6587\u4ef6\u7684\u94fe\u63a5\u65b9\u5f0f\u3002\u5f53\u4e00\u4e2a\u6587\u4ef6\u88ab\u5220\u9664\u65f6\uff0c\u53ea\u6709\u5f53\u6240\u6709\u6307\u5411\u8be5\u6587\u4ef6\u7684\u786c\u94fe\u63a5\u90fd\u88ab\u5220\u9664\u540e\uff0c\u8be5\u6587\u4ef6\u7684\u78c1\u76d8\u7a7a\u95f4\u624d\u4f1a\u88ab\u91ca\u653e\u3002<\/p>\n<h2 id=\"%e8%af%ad%e6%b3%95-cZtxtmoYjg\">\u8bed\u6cd5<\/h2>\n<p>link\u547d\u4ee4\u7684\u57fa\u672c\u8bed\u6cd5\u5982\u4e0b\uff1a<\/p>\n<pre><code>link [OPTION]... SOURCE DEST<\/code><\/pre>\n<h2 id=\"%e5%8f%82%e6%95%b0-cZtxtmoYjg\">\u53c2\u6570<\/h2>\n<ul>\n<li><code>SOURCE<\/code>\uff1a\u8981\u521b\u5efa\u94fe\u63a5\u7684\u6e90\u6587\u4ef6\u3002<\/li>\n<li><code>DEST<\/code>\uff1a\u94fe\u63a5\u6587\u4ef6\u7684\u76ee\u6807\u4f4d\u7f6e\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%a4%ba%e4%be%8b-cZtxtmoYjg\">\u793a\u4f8b<\/h2>\n<p>\u4e0b\u9762\u662f\u4e00\u4e9blink\u547d\u4ee4\u7684\u793a\u4f8b\uff1a<\/p>\n<pre><code>$ link file1.txt file2.txt<\/code><\/pre>\n<p>\u4e0a\u8ff0\u547d\u4ee4\u5c06\u521b\u5efa\u4e00\u4e2a\u540d\u4e3afile2.txt\u7684\u786c\u94fe\u63a5\uff0c\u6307\u5411file1.txt\u3002<\/p>\n<pre><code>$ link -s file1.txt file3.txt<\/code><\/pre>\n<p>\u4e0a\u8ff0\u547d\u4ee4\u5c06\u521b\u5efa\u4e00\u4e2a\u540d\u4e3afile3.txt\u7684\u7b26\u53f7\u94fe\u63a5\uff0c\u6307\u5411file1.txt\u3002<\/p>\n<h2 id=\"%e6%b3%a8%e6%84%8f%e4%ba%8b%e9%a1%b9-cZtxtmoYjg\">\u6ce8\u610f\u4e8b\u9879<\/h2>\n<p>\u5728\u4f7f\u7528link\u547d\u4ee4\u521b\u5efa\u94fe\u63a5\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n<ol>\n<li>\u6e90\u6587\u4ef6\u548c\u76ee\u6807\u6587\u4ef6\u5fc5\u987b\u4f4d\u4e8e\u540c\u4e00\u4e2a\u6587\u4ef6\u7cfb\u7edf\u4e2d\u3002<\/li>\n<li>\u6e90\u6587\u4ef6\u548c\u76ee\u6807\u6587\u4ef6\u5fc5\u987b\u5b58\u5728\u3002<\/li>\n<li>\u5982\u679c\u76ee\u6807\u6587\u4ef6\u5df2\u7ecf\u5b58\u5728\uff0clink\u547d\u4ee4\u5c06\u65e0\u6cd5\u521b\u5efa\u94fe\u63a5\u3002<\/li>\n<li>\u5220\u9664\u6e90\u6587\u4ef6\u4e0d\u4f1a\u5f71\u54cd\u94fe\u63a5\u6587\u4ef6\u7684\u53ef\u7528\u6027\uff0c\u4f46\u662f\u5220\u9664\u94fe\u63a5\u6587\u4ef6\u5c06\u5bfc\u81f4\u6e90\u6587\u4ef6\u65e0\u6cd5\u8bbf\u95ee\u3002<\/li>\n<\/ol>\n<h2 id=\"%e6%80%bb%e7%bb%93-cZtxtmoYjg\">\u603b\u7ed3<\/h2>\n<p>link\u547d\u4ee4\u662fLinux\u7cfb\u7edf\u4e2d\u7528\u4e8e\u521b\u5efa\u6587\u4ef6\u94fe\u63a5\u7684\u547d\u4ee4\u3002\u901a\u8fc7\u521b\u5efa\u786c\u94fe\u63a5\u6216\u7b26\u53f7\u94fe\u63a5\uff0c\u53ef\u4ee5\u5b9e\u73b0\u591a\u4e2a\u6587\u4ef6\u540d\u6307\u5411\u540c\u4e00\u4e2a\u6587\u4ef6\u7684\u6548\u679c\u3002\u4f7f\u7528link\u547d\u4ee4\u53ef\u4ee5\u65b9\u4fbf\u5730\u7ba1\u7406\u6587\u4ef6\u7684\u94fe\u63a5\u5173\u7cfb\u3002<\/p>\n<h3 id=\"%e9%a6%99%e6%b8%af%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%a6%96%e9%80%89%e5%90%8e%e6%b5%aa%e4%ba%91-cZtxtmoYjg\">\u9999\u6e2f\u670d\u52a1\u5668\u9996\u9009\u540e\u6d6a\u4e91<\/h3>\n<p>\u540e\u6d6a\u4e91\u662f\u4e00\u5bb6\u4e13\u4e1a\u7684\u4e91\u8ba1\u7b97\u516c\u53f8\uff0c\u63d0\u4f9b\u9ad8\u8d28\u91cf\u7684\u9999\u6e2f\u670d\u52a1\u5668\u670d\u52a1\u3002\u65e0\u8bba\u60a8\u662f\u4e2a\u4eba\u7528\u6237\u8fd8\u662f\u4f01\u4e1a\u7528\u6237\uff0c\u540e\u6d6a\u4e91\u90fd\u80fd\u4e3a\u60a8\u63d0\u4f9b\u7a33\u5b9a\u53ef\u9760\u7684\u9999\u6e2f\u670d\u52a1\u5668\u89e3\u51b3\u65b9\u6848\u3002\u4e86\u89e3\u66f4\u591a\u5173\u4e8e\u540e\u6d6a\u4e91\u7684\u4fe1\u606f\uff0c\u8bf7\u8bbf\u95ee<a href=\"https:\/\/idc.net\">https:\/\/idc.net<\/a>\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux \u547d\u4ee4\uff1alink - \u8c03\u7528 link \u51fd\u6570\u521b\u5efa\u6587\u4ef6\u7684\u94fe\u63a5 Linux \u547d\u4ee4\uff1alink - \u8c03\u7528 li [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[],"class_list":["post-210663","post","type-post","status-publish","format-standard","hentry","category-centos"],"_links":{"self":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/210663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/comments?post=210663"}],"version-history":[{"count":0,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/210663\/revisions"}],"wp:attachment":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media?parent=210663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/categories?post=210663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/tags?post=210663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}