{"id":18514,"date":"2024-05-11T04:03:23","date_gmt":"2024-05-10T20:03:23","guid":{"rendered":"https:\/\/www.linuxcool.com\/lrljlmlsms"},"modified":"2024-05-11T04:03:23","modified_gmt":"2024-05-10T20:03:23","slug":"lrljlmlsms","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/lrljlmlsms","title":{"rendered":"link\uff08\u8f6f\u94fe\u63a5\uff09\uff1aln\u547d\u4ee4\u8bf4\u660e\u4e66"},"content":{"rendered":"<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u6587\u7ae0\u76ee\u5f55<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u76ee\u7684<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>windows\u4e2d\u5e38\u5e38\u4f1a\u7528\u5230\u5feb\u6377\u65b9\u6cd5\uff0c\u5728linux\u4e2d\u4e5f\u6709\u7c7b\u4f3c\u7684\u4e1c\u897f\uff0c\u4e00\u822c\u88ab\u79f0\u4e3a\u94fe\u63a5\u3002\u8fd9\u513f\u5c31\u5bf9\u76f8\u5173\u5185\u5bb9\u4f5c\u4e2a\u8bf4\u660e\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>ln<a style='color:#0000CC;font-size:16px' href='https:\/\/www.linuxcool.com\/' target='_blank' rel=\"noopener\">\u547d\u4ee4<\/a>\u8bf4\u660e<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:500px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2024\/05\/1715371402853_0.webp' alt='ln\u547d\u4ee4\u662f\u4ec0\u4e48\u610f\u601d_linux\u4f7f\u7528ln\u547d\u4ee4_linux ln\u547d\u4ee4' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5728linux\u4e2d\u53ef\u4ee5\u4f7f\u7528ln\u547d\u4ee4\u6765\u521b\u5efa\u6307\u5411\u6587\u4ef6\u7684\u94fe\u63a5linux\u4e0b\u8f7d\uff0c\u6709\u70b9\u50cf\u662fWindows\u4e0a\u7684\u5feb\u6377\u65b9\u6cd5\u3002ln\u547d\u4ee4\u529f\u80fd\u4e0a\u6765\u8bf4\u6bd4\u8f83\u7b80\u5355<strong>linux ln\u547d\u4ee4<\/strong>\uff0c\u53e5\u578b\u5982\u4e0b\uff1a<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>ln[\u9009\u9879]\u6e90\u6587\u4ef6\u76ee\u6807\u6587\u4ef6<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u9009\u9879\u6765\u8bf4\u6700\u5e38\u7528\u7684\u4e5f\u5c31\u4f7f\u7528-s\u6765\u521b\u5efasymboliclink\uff08\u8f6f\u94fe\u63a5\uff09\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:500px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2024\/05\/1715371402853_1.jpg' alt='ln\u547d\u4ee4\u662f\u4ec0\u4e48\u610f\u601d_linux\u4f7f\u7528ln\u547d\u4ee4_linux ln\u547d\u4ee4' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u91cc\u9762\u6f14\u793a\u4e2d\u5206\u522b\u521b\u5efa\u4e86hardlink\uff08\u786c\u94fe\u63a5\uff09\u6587\u4ef6hl\u548csymboliclink\u6587\u4ef6sl\uff0c\u53ef\u4ee5\u770b\u89c1sl\u6587\u4ef6\u4e0a\u5e26\u4e2a\u5c0f\u6807\u5fd7\uff0c\u548cWindows\u4e0a\u7684\u5feb\u6377\u65b9\u6cd5\u6709\u70b9\u50cf\u3002\u4e8b\u5b9e\u4e0asymboliclink\u6587\u4ef6\u6587\u4ef6\u4e5f\u786e\u5b9e\u53ef\u4ee5\u7406\u89e3\u4e3a\u5feb\u6377\u65b9\u6cd5\uff0c\u5728linux\u4e2dsymboliclink\u76f8\u5bf9\u7528\u7684\u66f4\u591a\u4e00\u4e9b\uff0c<a style='color:#0000CC;font-size:16px' href='https:\/\/www.linuxdown.com\/' target='_blank' rel=\"noopener\">\u7cfb\u7edf<\/a>\u76ee\u5f55\u4e2d\u597d\u591a\u5c31\u662f\u4f7f\u7528symboliclink\u7684\u3002\u4f7f\u7528ls-l\u6216tree\u547d\u4ee4\u67e5\u770b\u7684\u8bddsymboliclink\u6587\u4ef6\u4f1a\u663e\u793a\u5176\u6307\u5411\u7684\u6587\u4ef6\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:500px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2024\/05\/1715371402853_3.webp' alt='linux\u4f7f\u7528ln\u547d\u4ee4_linux ln\u547d\u4ee4_ln\u547d\u4ee4\u662f\u4ec0\u4e48\u610f\u601d' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>symboliclink\u548chardlink<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5728\u91cc\u9762\u7684\u5185\u5bb9\u4e2d\u53ef\u4ee5\u89c1\u5230\u4f7f\u7528ln\u547d\u4ee4\u53ef\u4ee5\u521b\u5efasymboliclink\uff08\u8f6f\u94fe\u63a5\uff09\u548chardlink\uff08\u786c\u94fe\u63a5\uff09\u4e24\u79cd\u94fe\u63a5\u6587\u4ef6\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>symboliclink\u548cWindows\u4e0a\u7684\u5feb\u6377\u65b9\u6cd5\u5dee\u4e0d\u591a\uff0c\u8fd9\u4e2a\u6bd4\u8f83\u597d\u7406\u89e3\u3002symboliclink\u6587\u4ef6\u4fdd\u5b58\u7684\u662f\u4e00\u6761\u4fe1\u606f<strong>linux ln\u547d\u4ee4<\/strong>\uff0c\u8be5\u4fe1\u606f\u7528\u4e8e\u8868\u793a\u6b64\u8f6f\u94fe\u63a5\u6587\u4ef6\u6307\u5411\u7684\u662flinux\u7cfb\u7edf\u6587\u4ef6\u7cfb\u7edf\u4e2d\u67d0\u4e2a\u8def\u5f84\u3002\u8bbf\u95ee\u8f6f\u94fe\u63a5\u6587\u4ef6\u5c31\u662f\u8bbf\u95ee\u5176\u6307\u5411\u7684\u6587\u4ef6\u7cfb\u7edf\u4e2d\u5177\u4f53\u7684\u6587\u4ef6\u3002\u6240\u4ee5\u5047\u5982\u6e90\u6587\u4ef6\u88ab\u5220\u6389\u6216\u88ab\u8054\u901a\u4e86\u7684\u8bdd\u518d\u901a\u8fc7\u8f6f\u94fe\u63a5\u6587\u4ef6\u8bbf\u95ee\u90fd\u4f1a\u5931\u8d25\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:500px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2024\/05\/1715371402853_4.webp' alt='ln\u547d\u4ee4\u662f\u4ec0\u4e48\u610f\u601d_linux\u4f7f\u7528ln\u547d\u4ee4_linux ln\u547d\u4ee4' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u800chardlink\u5c31\u6bd4\u8f83\u6709\u610f\u601d\u4e86\uff0chardlink\u6307\u5411\u7684\u4e0d\u662f\u6e90\u6587\u4ef6\u5728\u6587\u4ef6\u7cfb\u7edf\u4e2d\u7684\u8def\u5f84\uff0c\u5176\u4fdd\u5b58\u7684\u5185\u5bb9\u53ef\u4ee5\u7b80\u5355\u7406\u89e3\u4e3a\u662f\u6e90\u6587\u4ef6\u5728c\u76d8\u4e2d\u7684\u5730\u5740\u3002\u8fd9\u5c31\u5f62\u6210\u4e86\u5f88\u6709\u610f\u601d\u7684\u4e8b\u60c5\uff0c\u5047\u5982\u4f60\u5220\u6389\u6587\u4ef6\u7cfb\u7edf\u4e2d\u7684\u6e90\u6587\u4ef6\uff0c\u901a\u8fc7\u786c\u94fe\u63a5\u8fd8\u662f\u53ef\u4ee5\u8bbf\u95ee\u5230\u8be5\u6587\u4ef6\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u4f7f\u7528ls-li\u547d\u4ee4\u67e5\u770b\u65f6\uff0c\u6700\u4e0a\u9762\u7684\u4e00\u4e32\u6570\u5b57\u662f\u6587\u4ef6\u7684inode\u53f7\uff0c\u53ef\u4ee5\u7b80\u5355\u7406\u89e3\u4e3a\u6587\u4ef6\u5728c\u76d8\u4e2d\u7684\u5730\u5740\uff0c\u5047\u5982inode\u53f7\u76f8\u540c\uff0c\u8fd9\u4e48\u5176\u5728c\u76d8\u4e2d\u867d\u7136\u5c31\u662f\u540c\u4e00\u4e2a\u6587\u4ef6\u3002ls-li\u547d\u4ee4\u7b2c\u4e8c\u6bb5\u5185\u5bb9\u7684\u7b2c\u4e00\u4e2a\u5b57\u7b26-\u8868\u793a\u666e\u901a\u6587\u4ef6\uff0cl\u8868\u793a\u662f\u8f6f\u94fe\u63a5\u6587\u4ef6\u3002ls-li\u547d\u4ee4\u7b2c\u4e09\u6bb5\u7684\u6570\u5b57\u5bf9\u4e8e\u6587\u4ef6\u5939\u6765\u8bf4\u8868\u793a\u5176\u5bcc\u542b\u7684\u6587\u4ef6\u6570\uff0c\u5bf9\u4e8e\u5355\u4e2a\u6587\u4ef6\u6765\u8bf4\u8be5\u503c\u5c31\u8868\u793a\u4e86\u6307\u5411c\u76d8\u4e2d\u8be5\u6587\u4ef6\u7684\u6b21\u6570\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:500px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2024\/05\/1715371402853_6.jpg' alt='ln\u547d\u4ee4\u662f\u4ec0\u4e48\u610f\u601d_linux ln\u547d\u4ee4_linux\u4f7f\u7528ln\u547d\u4ee4' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>hardlink\u7684\u8fd9\u4e2a\u7279\u70b9\u53ef\u4ee5\u5b9e\u73b0\u4e9b\u975e\u5e38\u7684\u5e94\u7528\u96e8\u6797\u6728\u98celinux\uff0c\u4f8b\u5982\u8bf4\u4f7f\u7528rsync--link-dest\u8fdb\u884c\u589e\u91cf\u5907\u4efd\u65f6\u591a\u4e2a\u5907\u4efd\u95f4\u76f8\u540c\u90e8\u4efd\u6587\u4ef6\u4f7f\u7528\u7684\u5c31\u662f\u786c\u94fe\u63a5\uff0c\u5220\u6389\u5176\u4e2d\u4e00\u4efd\u5907\u4efd\u5176\u5b83\u5907\u4efd\u5e76\u4e0d\u4f1a\u6536\u5230\u4efb\u4f55\u5f71\u54cd\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>hardlink\u4e5f\u6709\u7f3a\u70b9\uff0c\u4e00\u822c\u6765\u8bf4\u65e0\u6cd5\u521b\u5efa\u76ee\u5f55\u7684\u94fe\u63a5\u3002\u6240\u4ee5\u4e00\u822c\u6765\u8bf4\u8fd8\u662fsymboliclink\u7528\u7684\u66f4\u591a\u4e9b\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u603b\u7ed3<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u4f7f\u7528ln\u547d\u4ee4\u521b\u5efa\u94fe\u63a5\u603b\u7684\u6765\u8bf4\u5e76\u4e0d\u590d\u6742\uff0c\u76f8\u6bd4Windows\u4e0a\u7684\u5feb\u6377\u65b9\u6cd5\u6765\u8bf4\u4e3b\u8981\u5c31\u662f\u591a\u4e86\u4e2a\u4e0d\u7b97\u5e38\u7528\u7684hardlink\u3002\u66f4\u591a\u5185\u5bb9\u53ef\u4ee5\u4f7f\u7528manln\u67e5\u770b\u76f8\u5173\u8bf4\u660e\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728linux\u4e2d\u53ef\u4ee5\u4f7f\u7528ln\u547d\u4ee4\u6765\u521b\u5efa\u6307\u5411\u6587\u4ef6\u7684\u94fe\u63a5\uff0c\u6709\u70b9\u50cf\u662fWindows\u4e0a\u7684\u5feb\u6377\u65b9\u5f0f\u3002link\u6307\u5411\u7684\u4e0d\u662f\u6e90\u6587\u4ef6\u5728\u6587\u4ef6\u7cfb\u7edf\u4e2d\u7684\u8def\u5f84\uff0c\u5176\u4fdd\u5b58\u7684\u5185\u5bb9\u53ef\u4ee5\u7b80\u5355\u7406\u89e3\u4e3a\u662f\u6e90\u6587\u4ef6\u5728\u78c1\u76d8\u4e2d\u7684\u5730\u5740\u3002link\u4e5f\u6709\u7f3a\u70b9\uff0c\u901a\u5e38\u6765\u8bf4\u6ca1\u6cd5\u521b\u5efa\u76ee\u5f55\u7684\u94fe\u63a5\u3002<\/p>\n","protected":false},"author":1,"featured_media":18515,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[37,740,876,32,748],"class_list":["post-18514","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge","tag-ml","tag-kj-2","tag-zx-3","tag-wj","tag-lj-3"],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/18514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=18514"}],"version-history":[{"count":0,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/18514\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media\/18515"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=18514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=18514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=18514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}