{"id":294365,"date":"2024-11-15T04:04:51","date_gmt":"2024-11-14T20:04:51","guid":{"rendered":"https:\/\/lrxjmw.cn\/lzzymlldgnjc.html"},"modified":"2024-11-15T04:04:51","modified_gmt":"2024-11-14T20:04:51","slug":"lzzymlldgnjc","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lzzymlldgnjc.html","title":{"rendered":"Linux \u4e2d\u91cd\u8981\u547d\u4ee4 ln \u7684\u529f\u80fd\u53ca\u5e38\u7528\u53c2\u6570-s \u7684\u7528\u6cd5\u89e3\u6790"},"content":{"rendered":"

\u8fd9\u662flinux\u4e2d\u4e00\u4e2a\u5341\u5206\u91cd\u8981\u547d\u4ee4<\/a>\uff0c\u8bf7\u4f60\u4eec\u4e00\u5b9a\u8981\u719f\u6089\u3002\u5b83\u7684\u529f\u80fd\u662f\u4e3a\u67d0\u4e00\u4e2a\u6587\u4ef6\u5728\u53e6\u5916\u4e00\u4e2a\u4f4d\u7f6e\u6784\u5efa\u4e00\u4e2a\u540c\u4e0d\u7684\u94fe\u63a5\uff0c\u8fd9\u4e2a\u547d\u4ee4\u6700\u5e38\u7528\u7684\u53c2\u6570\u662f-s,\u5177\u4f53\u7528\u6cd5\u662f\uff1aln-s\u6e90\u6587\u4ef6\u76ee\u6807\u6587\u4ef6\u3002<\/p>\n

\u5f53\u6211\u4eec\u987b\u8981\u5728\u4e0d\u540c\u7684\u76ee\u5f55\uff0c\u7528\u5230\u76f8\u540c\u7684\u6587\u4ef6\u65f6\uff0c\u6211\u4eec\u4e0d\u987b\u8981\u5728\u6bcf\u4e00\u4e2a\u987b\u8981\u7684\u76ee\u5f55\u4e0b\u90fd\u653e\u4e00\u4e2a\u5fc5\u987b\u76f8\u540c\u7684\u6587\u4ef6\uff0c\u6211\u4eec\u53ea\u8981\u5728\u67d0\u4e2a\u56fa\u5b9a\u7684\u76ee\u5f55\uff0c\u653e\u4e0a\u8be5\u6587\u4ef6\uff0c\u4e4b\u540e\u5728\u5176\u5b83\u7684\u76ee\u5f55\u4e0b\u7528ln\u547d\u4ee4\u94fe\u63a5\uff08link\uff09\u5b83\u5c31\u53ef\u4ee5\uff0c\u4f55\u5fc5\u91cd\u590d\u7684\u5360\u7528c\u76d8\u7a7a\u95f4\u3002<\/p>\n

\u6bd4\u5982\uff1aln-s\/bin\/less\/usr\/local\/bin\/less<\/p>\n

-s\u662f\u4ee3\u53f7\uff08symbolic\uff09\u7684\u610f\u601d\u3002<\/p>\n

\u8fd9\u91cc\u6709\u4e24\u70b9\u8981\u6ce8\u610f\uff1a\u7b2c\u4e00\uff0cln\u547d\u4ee4\u4f1a\u4fdd\u6301\u6bcf\u4e00\u5904\u94fe\u63a5\u6587\u4ef6\u7684\u540c\u6b65\u6027\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c\u4e0d\u8bba\u4f60\u6539\u52a8\u4e86\u54ea\u4e00\u5904\uff0c\u5176\u5b83\u7684\u6587\u4ef6\u5c31\u4f1a\u53d1\u751f\u76f8\u540c\u7684\u53d8\u5316\uff1b\u7b2c\u4e8c\uff0cln\u7684\u94fe\u63a5\u53c8\u8f6f\u94fe\u63a5\u548c\u786c\u94fe\u63a5\u4e24\u79cd\uff0c\u8f6f\u94fe\u63a5\u5c31\u662fln-s****,\u5b83\u53ea\u4f1a\u5728\u4f60\u9009\u53d6\u7684\u4f4d\u7f6e\u4e0a\u751f\u6210\u4e00\u4e2a\u6587\u4ef6\u7684\u955c\u50cf\uff0c\u4e0d\u4f1a\u5360\u7528c\u76d8\u7a7a\u95f4\uff0c\u786c\u94fe\u63a5ln****,\u6ca1\u6709\u53c2\u6570-s,\u5b83\u4f1a\u5728\u4f60\u9009\u53d6\u7684\u4f4d\u7f6e\u4e0a\u751f\u6210\u4e00\u4e2a\u548c\u6e90\u6587\u4ef6\u5927\u5c0f\u76f8\u540c\u7684\u6587\u4ef6\uff0c\u65e0\u8bba\u662f\u8f6f\u94fe\u63a5\u8fd8\u662f\u786c\u94fe\u63a5\uff0c\u6587\u4ef6\u90fd\u4fdd\u6301\u540c\u6b65\u53d8\u5316\u3002<\/p>\n

\u5047\u5982\u4f60\u7528ls\u5bdf\u770b\u4e00\u4e2a\u76ee\u5f55\u65f6\uff0c\u53d1\u89c9\u6709\u7684\u6587\u4ef6\u524d\u9762\u6709\u4e00\u4e2a@\u7684\u7b26\u53f7\uff0c\u90a3\u5c31\u662f\u4e00\u4e2a\u7528ln\u547d\u4ee4\u751f\u6210\u7684\u6587\u4ef6\uff0c\u7528ls-l\u547d\u4ee4\u53bb\u5bdf\u770b\uff0c\u5c31\u53ef\u4ee5\u770b\u89c1\u663e\u793a\u7684link\u7684\u8def\u5f84\u4e86\u3002<\/p>\n

ln\u662flinux\u4e2d\u53c8\u4e00\u4e2a\u6781\u5176\u91cd\u8981\u547d\u4ee4\uff0c\u5b83\u7684\u529f\u80fd\u662f\u4e3a\u67d0\u4e00\u4e2a\u6587\u4ef6\u5728\u53e6\u5916\u4e00\u4e2a\u4f4d\u7f6e\u6784\u5efa\u4e00\u4e2a\u540c\u6b65\u7684\u94fe\u63a5.\u5f53\u6211\u4eec\u987b\u8981\u5728\u4e0d\u540c\u7684\u76ee\u5f55\uff0c\u7528\u5230\u76f8\u540c\u7684\u6587\u4ef6\u65f6\uff0c\u6211\u4eec\u4e0d\u987b\u8981\u5728\u6bcf\u4e00\u4e2a\u987b\u8981\u7684\u76ee\u5f55\u4e0b\u90fd\u653e\u4e00\u4e2a\u5fc5\u987b\u76f8\u540c\u7684\u6587\u4ef6\uff0c\u6211\u4eec\u53ea\u8981\u5728\u67d0\u4e2a\u56fa\u5b9a\u7684\u76ee\u5f55\uff0c\u653e\u4e0a\u8be5\u6587\u4ef6\uff0c\u4e4b\u540e\u5728\u5176\u5b83\u7684\u76ee\u5f55\u4e0b\u7528ln\u547d\u4ee4\u94fe\u63a5\uff08link\uff09\u5b83\u5c31\u53ef\u4ee5\uff0c\u4f55\u5fc5\u91cd\u590d\u7684\u5360\u7528c\u76d8\u7a7a\u95f4\u3002<\/p>\n

1\uff0e\u547d\u4ee4\u683c\u5f0f\uff1a<\/p>\n

ln[\u53c2\u6570][\u6e90\u6587\u4ef6\u6216\u76ee\u5f55][\u76ee\u6807\u6587\u4ef6\u6216\u76ee\u5f55]<\/p>\n

2\uff0e\u547d\u4ee4\u529f\u80fd\uff1a<\/p>\n

Linux<\/a>\u6587\u4ef6\u7cfb\u7edf\u4e2d\uff0c\u6709\u6240\u8c13\u7684\u94fe\u63a5(link)\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u5176\u89c6\u4e3a\u6863\u6848\u7684\u522b\u79f0\uff0c\u800c\u94fe\u63a5\u53c8\u53ef\u5206\u4e3a\u4e24\u79cd:\u786c\u94fe\u63a5(hardlink)\u4e0e\u8f6f\u94fe\u63a5(symboliclink)\uff0c\u786c\u94fe\u63a5\u7684\u610f\u601d\u662f\u4e00\u4e2a\u6863\u6848\u53ef\u4ee5\u6709\u591a\u4e2a\u540d\u79f0\uff0c\u800c\u8f6f\u94fe\u63a5\u7684\u65b9\u6cd5\u5219\u662f\u5f62\u6210\u4e00\u4e2a\u7279\u6b8a\u7684\u6863\u6848\uff0c\u8be5\u6863\u6848\u7684\u5185\u5bb9\u662f\u6307\u5411\u53e6\u4e00\u4e2a\u6863\u6848\u7684\u4f4d\u7f6e\u3002\u786c\u94fe\u63a5\u662f\u5b58\u5728\u540c\u4e00\u4e2a\u6587\u4ef6\u7cfb\u7edf\u4e2d\uff0c\u800c\u8f6f\u94fe\u63a5\u5374\u53ef\u4ee5\u8de8\u8d8a\u4e0d\u540c\u7684\u6587\u4ef6\u7cfb\u7edf\u3002<\/p>\n

\u8f6f\u94fe\u63a5\uff1a<\/p>\n

1.\u8f6f\u94fe\u63a5\uff0c\u4ee5\u8def\u5f84\u7684\u65b9\u5f0f\u5b58\u5728\u3002\u7c7b\u4f3c\u4e8eWindows\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u7684\u5feb\u6377\u65b9\u6cd5<\/p>\n

2.\u8f6f\u94fe\u63a5\u53ef\u4ee5\u8de8\u6587\u4ef6\u7cfb\u7edf\uff0c\u786c\u94fe\u63a5\u4e0d\u53ef\u4ee5<\/p>\n

3.\u8f6f\u94fe\u63a5\u53ef\u4ee5\u5bf9\u4e00\u4e2a\u4e0d\u5b58\u5728\u7684\u6587\u4ef6\u540d\u8fdb\u884c\u94fe\u63a5<\/p>\n

4.\u8f6f\u94fe\u63a5\u53ef\u4ee5\u5bf9\u76ee\u5f55\u8fdb\u884c\u94fe\u63a5<\/p>\n

\u786c\u94fe\u63a5:<\/p>\n

1.\u786c\u94fe\u63a5\uff0c\u4ee5\u6587\u4ef6\u526f\u672c\u7684\u65b9\u5f0f\u5b58\u5728\u3002\u4f46\u4e0d\u5360\u7528\u5b9e\u9645\u7a7a\u95f4\u3002<\/p>\n

2.\u4e0d\u5bb9\u8bb8\u7ed9\u76ee\u5f55\u521b\u5efa\u786c\u94fe\u63a5<\/p>\n

3.\u786c\u94fe\u63a5\u53ea\u6709\u5728\u540c\u4e00\u4e2a\u6587\u4ef6\u7cfb\u7edf\u4e2d\u80fd\u591f\u521b\u5efa<\/p>\n

\u8fd9\u513f\u6709\u4e24\u70b9\u8981\u6ce8\u610f\uff1a<\/p>\n

\u7b2c\u4e00\uff0cln\u547d\u4ee4\u4f1a\u4fdd\u6301\u6bcf\u4e00\u5904\u94fe\u63a5\u6587\u4ef6\u7684\u540c\u6b65\u6027\uff0c\u4e5f\u5c31\u662f\u8bf4linux\u670d\u52a1\u5668\u4ee3\u7ef4\uff0c\u4e0d\u8bba\u4f60\u6539\u52a8\u4e86\u54ea\u4e00\u5904\uff0c\u5176\u5b83\u7684\u6587\u4ef6\u5c31\u4f1a\u53d1\u751f\u76f8\u540c\u7684\u53d8\u5316\uff1b<\/p>\n

\u7b2c\u4e8c\uff0cln\u7684\u94fe\u63a5\u53c8\u5206\u8f6f\u94fe\u63a5\u548c\u786c\u94fe\u63a5\u4e24\u79cd\uff0c\u8f6f\u94fe\u63a5\u5c31\u662fln\u2013s\u6e90\u6587\u4ef6\u76ee\u6807\u6587\u4ef6\uff0c\u5b83\u53ea\u4f1a\u5728\u4f60\u9009\u53d6\u7684\u4f4d\u7f6e\u4e0a\u751f\u6210\u4e00\u4e2a\u6587\u4ef6\u7684\u955c\u50cf\uff0c\u4e0d\u4f1a\u5360\u7528c\u76d8\u7a7a\u95f4\uff0c\u786c\u94fe\u63a5ln\u6e90\u6587\u4ef6\u76ee\u6807\u6587\u4ef6\uff0c\u6ca1\u6709\u53c2\u6570-s\uff0c\u5b83\u4f1a\u5728\u4f60\u9009\u53d6\u7684\u4f4d\u7f6e\u4e0a\u751f\u6210\u4e00\u4e2a\u548c\u6e90\u6587\u4ef6\u5927\u5c0f\u76f8\u540c\u7684\u6587\u4ef6\uff0c\u65e0\u8bba\u662f\u8f6f\u94fe\u63a5\u8fd8\u662f\u786c\u94fe\u63a5\uff0c\u6587\u4ef6\u90fd\u4fdd\u6301\u540c\u6b65\u53d8\u5316\u3002<\/p>\n

ln\u6307\u4ee4\u7528\u5728\u94fe\u63a5\u6587\u4ef6\u6216\u76ee\u5f55\uff0c\u5c31\u50cf\u65f6\u6307\u5b9a\u4e24\u4e2a\u4ee5\u4e0a\u7684\u6587\u4ef6\u6216\u76ee\u5f55\uff0c\u4e14\u6700\u540e\u7684\u76ee\u7684\u5730\u662f\u4e00\u4e2a\u65e9\u5df2\u5b58\u5728\u7684\u76ee\u5f55linux \u4fee\u6539\u94fe\u63a5\u6307\u5411<\/strong>\uff0c\u5219\u4f1a\u628a\u4e0a\u9762\u6307\u5b9a\u7684\u6240\u6709\u6587\u4ef6\u6216\u76ee\u5f55\u590d\u5236\u5230\u8be5\u76ee\u5f55\u4e2d\u3002\u82e5\u540c\u65f6\u6307\u5b9a\u591a\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55\uff0c\u4e14\u6700\u540e\u7684\u76ee\u7684\u5730\u5e76\u975e\u662f\u4e00\u4e2a\u5df2\u5b58\u5728\u7684\u76ee\u5f55\uff0c\u5219\u4f1a\u51fa\u73b0\u9519\u8bef\u4fe1\u606f\u3002<\/p>\n

3\uff0e\u547d\u4ee4\u53c2\u6570\uff1a<\/p>\n

\u5fc5\u8981\u53c2\u6570:<\/p>\n

-b\u5220\u6389\uff0c\u8986\u76d6\u5148\u524d\u6784\u5efa\u7684\u94fe\u63a5<\/p>\n

-d\u5bb9\u8bb8\u8d85\u7ea7\u7528\u6237\u5236\u505a\u76ee\u5f55\u7684\u786c\u94fe\u63a5<\/p>\n

-f\u5f3a\u5236\u6267\u884c<\/p>\n

-i\u4ea4\u4e92\u6a21\u5f0f\uff0c\u6587\u4ef6\u5b58\u5728\u5219\u63d0\u793a\u7528\u6237\u662f\u5426\u8986\u76d6<\/p>\n

-n\u628a\u7b26\u53f7\u94fe\u63a5\u89c6\u4e3a\u901a\u5e38\u76ee\u5f55<\/p>\n

-s\u8f6f\u94fe\u63a5(\u7b26\u53f7\u94fe\u63a5)<\/p>\n

-v\u663e\u793a\u8be6\u5c3d\u7684\u5904\u7406\u8fc7\u7a0b<\/p>\n

\u9009\u62e9\u53c2\u6570:<\/p>\n

-S\u201c-S\u201d\u6216\u201c--suffix=\u201d<\/p>\n

-V\u201c-V\u201d\u6216\u201c--version-control=\u201d<\/p>\n

--help\u663e\u793a\u5e2e\u52a9\u4fe1\u606f<\/p>\n

--version\u663e\u793a\u7248\u672c\u4fe1\u606f<\/p>\n

4\uff0e\u4f7f\u7528\u5b9e\u4f8b\uff1a<\/p>\n

\u5b9e\u4f8b1\uff1a\u7ed9\u6587\u4ef6\u521b\u5efa\u8f6f\u94fe\u63a5<\/p>\n

\u547d\u4ee4\uff1a<\/p>\n

linux\u4fee\u6539link_linux\u94fe\u63a5\u6587\u4ef6\u6307\u5411_linux \u4fee\u6539\u94fe\u63a5\u6307\u5411<\/p>\n

ln-slog2013.loglink2013<\/p>\n

\u8f93\u51fa\uff1a<\/p>\n

\u590d\u5236\u4ee3\u7801<\/p>\n

\u4ee3\u7801\u5982\u4e0b:<\/p>\n

[root@localhosttest]#ll<\/p>\n

-rw-r--r--1rootbin6111-1306:03log2013.log<\/p>\n

[root@localhosttest]#ln-slog2013.loglink2013<\/p>\n

[root@localhosttest]#ll<\/p>\n

lrwxrwxrwx1rootroot1112-0716:01link2013->log2013.log<\/p>\n

-rw-r--r--1rootbin6111-1306:03log2013.log<\/p>\n

\u8bf4\u660e\uff1a<\/p>\n

\u4e3alog2013.log\u6587\u4ef6\u521b\u5efa\u8f6f\u94fe\u63a5link2013\uff0c\u5047\u5982log2013.log\u9057\u5931\uff0clink2013\u5c06\u5931\u6548<\/p>\n

\u5b9e\u4f8b2\uff1a\u7ed9\u6587\u4ef6\u521b\u5efa\u786c\u94fe\u63a5<\/p>\n

\u547d\u4ee4\uff1a<\/p>\n

lnlog2013.logln2013<\/p>\n

\u8f93\u51fa\uff1a<\/p>\n

\u590d\u5236\u4ee3\u7801<\/p>\n

\u4ee3\u7801\u5982\u4e0b:<\/p>\n

[root@localhosttest]#ll<\/p>\n

lrwxrwxrwx1rootroot1112-0716:01link2013->log2013.log<\/p>\n

-rw-r--r--1rootbin6111-1306:03log2013.log<\/p>\n

[root@localhosttest]#lnlog2013.logln2013<\/p>\n

[root@localhosttest]#ll<\/p>\n

lrwxrwxrwx1rootroot1112-0716:01link2013->log2013.log<\/p>\n

-rw-r--r--2rootbin6111-1306:03ln2013<\/p>\n

-rw-r--r--2rootbin6111-1306:03log2013.log<\/p>\n

\u8bf4\u660e\uff1a<\/p>\n

\u4e3alog2013.log\u521b\u5efa\u786c\u94fe\u63a5ln2013\uff0clog2013.log\u4e0eln2013\u7684\u5404\u9879\u5c5e\u6027\u76f8\u540c<\/p>\n

\u5b9e\u4f8b3\uff1a\u63a5\u91cc\u9762\u4e24\u5b9e\u4f8b\uff0c\u94fe\u63a5\u5b8c\u6bd5\u540e\uff0c\u5220\u6389\u548c\u91cd\u5efa\u94fe\u63a5\u539f\u6587\u4ef6<\/p>\n

\u547d\u4ee4\uff1a<\/p>\n

\u8f93\u51fa\uff1a<\/p>\n

\u590d\u5236\u4ee3\u7801<\/p>\n

\u4ee3\u7801\u5982\u4e0b:<\/p>\n

[root@localhosttest]#ll<\/p>\n

lrwxrwxrwx1rootroot1112-0716:01link2013->log2013.log<\/p>\n

-rw-r--r--2rootbin6111-1306:03ln2013<\/p>\n

-rw-r--r--2rootbin6111-1306:03log2013.log<\/p>\n

[root@localhosttest]#rm-rflog2013.log<\/p>\n

[root@localhosttest]#ll<\/p>\n

lrwxrwxrwx1rootroot1112-0716:01link2013->log2013.log<\/p>\n

-rw-r--r--1rootbin6111-1306:03ln2013<\/p>\n

[root@localhosttest]#touchlog2013.log<\/p>\n

[root@localhosttest]#ll<\/p>\n

lrwxrwxrwx1rootroot1112-0716:01link2013->log2013.log<\/p>\n

-rw-r--r--1rootbin6111-1306:03ln2013<\/p>\n

---xrw-r--1rootbin30210811-1306:03log2012.log<\/p>\n

-rw-r--r--1rootroot012-0716:19log2013.log<\/p>\n

[root@localhosttest]#vilog2013.log<\/p>\n

2013-01<\/p>\n

2013-02<\/p>\n

2013-03<\/p>\n

2013-04<\/p>\n

2013-05<\/p>\n

2013-06<\/p>\n

2013-07<\/p>\n

2013-08<\/p>\n

2013-09<\/p>\n

2013-10<\/p>\n

2013-11<\/p>\n

2013-12[root@localhosttest]#ll<\/p>\n

lrwxrwxrwx1rootroot1112-0716:01link2013->log2013.log<\/p>\n

-rw-r--r--1rootbin6111-1306:03ln2013<\/p>\n

-rw-r--r--1rootroot9612-0716:21log2013.log<\/p>\n

[root@localhosttest]#catlink2013<\/p>\n

2013-01<\/p>\n

2013-02<\/p>\n

2013-03<\/p>\n

2013-04<\/p>\n

2013-05<\/p>\n

2013-06<\/p>\n

2013-07<\/p>\n

2013-08<\/p>\n

2013-09<\/p>\n

2013-10<\/p>\n

2013-11<\/p>\n

2013-12<\/p>\n

[root@localhosttest]#catln2013<\/p>\n

hostnamebaidu=<\/p>\n

hostnamesina=<\/p>\n

hostnames=true<\/p>\n

linux \u4fee\u6539\u94fe\u63a5\u6307\u5411_linux\u4fee\u6539link_linux\u94fe\u63a5\u6587\u4ef6\u6307\u5411<\/p>\n

\u8bf4\u660e\uff1a<\/p>\n

1.\u6e90\u6587\u4ef6\u88ab\u5220\u6389\u540e\uff0c\u5e76\u6ca1\u6709\u5f71\u54cd\u786c\u94fe\u63a5\u6587\u4ef6\uff1b\u8f6f\u94fe\u63a5\u6587\u4ef6\u5728centos\u7cfb\u7edf\u4e0b\u4e0d\u65ad\u7684\u95ea\u52a8\uff0c\u63d0\u793a\u6e90\u6587\u4ef6\u65e9\u5df2\u4e0d\u5b58\u5728<\/p>\n

2.\u91cd\u5efa\u6e90\u6587\u4ef6\u540e\uff0c\u8f6f\u94fe\u63a5\u4e0d\u5728\u95ea\u52a8\u63d0\u793a\uff0c\u8bf4\u660e\u65e9\u5df2\u94fe\u63a5\u6210\u529f\uff0c\u627e\u5230\u4e86\u94fe\u63a5\u6587\u4ef6\u7cfb\u7edf\uff1b\u91cd\u5efa\u540e\uff0c\u786c\u94fe\u63a5\u6587\u4ef6\u5e76\u6ca1\u6709\u906d\u5230\u6e90\u6587\u4ef6\u5f71\u54cd\uff0c\u786c\u94fe\u63a5\u6587\u4ef6\u7684\u5185\u5bb9\u8fd8\u662f\u4fdd\u7559\u4e86\u5220\u6389\u524d\u6e90\u6587\u4ef6\u7684\u5185\u5bb9\uff0c\u8bf4\u660e\u786c\u94fe\u63a5\u65e9\u5df2\u5931\u6548<\/p>\n

\u5b9e\u4f8b4\uff1a\u5c06\u6587\u4ef6\u94fe\u63a5\u4e3a\u53e6\u4e00\u4e2a\u76ee\u5f55\u4e2d\u7684\u76f8\u540c\u540d\u5b57<\/p>\n

\u547d\u4ee4\uff1a<\/p>\n

lnlog2013.logtest3<\/p>\n

\u8f93\u51fa\uff1a<\/p>\n

\u590d\u5236\u4ee3\u7801<\/p>\n

\u4ee3\u7801\u5982\u4e0b:<\/p>\n

[root@localhosttest]#lnlog2013.logtest3<\/p>\n

[root@localhosttest]#ll<\/p>\n

lrwxrwxrwx1rootroot1112-0716:01link2013->log2013.log<\/p>\n

-rw-r--r--1rootbin6111-1306:03ln2013<\/p>\n

-rw-r--r--2rootroot9612-0716:21log2013.log<\/p>\n

[root@localhosttest]#cdtest3<\/p>\n

[root@localhosttest3]#ll<\/p>\n

-rw-r--r--2rootroot9612-0716:21log2013.log<\/p>\n

[root@localhosttest3]#vilog2013.log<\/p>\n

2013-01<\/p>\n

2013-02<\/p>\n

2013-03<\/p>\n

2013-04<\/p>\n

2013-05<\/p>\n

2013-06<\/p>\n

2013-07<\/p>\n

2013-08<\/p>\n

2013-09<\/p>\n

2013-10[root@localhosttest3]#ll<\/p>\n

-rw-r--r--2rootroot8012-0716:36log2013.log<\/p>\n

[root@localhosttest3]#cd..<\/p>\n

[root@localhosttest]#ll<\/p>\n

lrwxrwxrwx1rootroot1112-0716:01link2013->log2013.log<\/p>\n

-rw-r--r--1rootbin6111-1306:03ln2013<\/p>\n

-rw-r--r--2rootroot8012-0716:36log2013.log<\/p>\n

[root@localhosttest]#<\/p>\n

\u8bf4\u660e\uff1a<\/p>\n

\u5728test3\u76ee\u5f55\u4e2d\u521b\u5efa\u4e86log2013.log\u7684\u786c\u94fe\u63a5\uff0c\u66f4\u6539test3\u76ee\u5f55\u4e2d\u7684log2013.log\u6587\u4ef6\uff0c\u540c\u65f6\u4e5f\u4f1a\u540c\u6b65\u5230\u6e90\u6587\u4ef6<\/p>\n

\u5b9e\u4f8b5\uff1a\u7ed9\u76ee\u5f55\u521b\u5efa\u8f6f\u94fe\u63a5<\/p>\n

\u547d\u4ee4\uff1a<\/p>\n

ln-sv\/opt\/soft\/test\/test3\/opt\/soft\/test\/test5<\/p>\n

linux\u94fe\u63a5\u6587\u4ef6\u6307\u5411_linux \u4fee\u6539\u94fe\u63a5\u6307\u5411_linux\u4fee\u6539link<\/p>\n

\u8f93\u51fa\uff1a<\/p>\n

\u590d\u5236\u4ee3\u7801<\/p>\n

\u4ee3\u7801\u5982\u4e0b:<\/p>\n

[root@localhosttest]#ll<\/p>\n

drwxr-xr-x2rootroot409612-0716:36test3<\/p>\n

drwxr-xr-x2rootroot409612-0716:57test5<\/p>\n

[root@localhosttest]#cdtest5<\/p>\n

[root@localhosttest5]#ll<\/p>\n

lrwxrwxrwx1rootroot512-0716:57test3->test3<\/p>\n

[root@localhosttest5]#cdtest3<\/p>\n

-bash:cd:test3:\u7b26\u53f7\u8054\u63a5\u7684\u5c42\u6570\u8fc7\u591a<\/p>\n

[root@localhosttest5]#<\/p>\n

[root@localhosttest5]#<\/p>\n

[root@localhosttest5]#ll<\/p>\n

lrwxrwxrwx1rootroot512-0716:57test3->test3<\/p>\n

[root@localhosttest5]#rm-rftest3<\/p>\n

[root@localhosttest5]#ll<\/p>\n

[root@localhosttest5]#ln-sv\/opt\/soft\/test\/test3\/opt\/soft\/test\/test5<\/p>\n

\u521b\u5efa\u6307\u5411\u201c\/opt\/soft\/test\/test3\u201d\u7684\u7b26\u53f7\u94fe\u63a5\u201c\/opt\/soft\/test\/test5\/test3\u201d<\/p>\n

[root@localhosttest5]#ll<\/p>\n

lrwxrwxrwx1rootroot2012-0716:59test3->\/opt\/soft\/test\/test3<\/p>\n

[root@localhosttest5]#<\/p>\n

[root@localhosttest5]#cdtest3<\/p>\n

[root@localhosttest3]#ll<\/p>\n

\u603b\u8ba14<\/p>\n

-rw-r--r--2rootroot8012-0716:36log2013.log<\/p>\n

[root@localhosttest3]#touchlog2014.log<\/p>\n

[root@localhosttest3]#ll<\/p>\n

\u603b\u8ba14<\/p>\n

-rw-r--r--2rootroot8012-0716:36log2013.log<\/p>\n

-rw-r--r--1rootroot012-0717:05log2014.log<\/p>\n

[root@localhosttest3]#cd..<\/p>\n

[root@localhosttest5]#cd..<\/p>\n

\u8bf4\u660e\uff1a<\/p>\n

1.\u76ee\u5f55\u53ea\u80fd\u521b\u5efa\u8f6f\u94fe\u63a5<\/p>\n

2.\u76ee\u5f55\u521b\u5efa\u94fe\u63a5\u5fc5\u987b\u7528\u7edd\u5bf9\u8def\u5f84\uff0c\u76f8\u5bf9\u8def\u5f84\u521b\u5efa\u4f1a\u4e0d\u6210\u529f\uff0c\u4f1a\u63d0\u793a\uff1a\u7b26\u53f7\u8054\u63a5\u7684\u5c42\u6570\u8fc7\u591a\u8fd9\u6837\u7684\u9519\u8bef<\/p>\n

3.\u5728\u94fe\u63a5\u76ee\u6807\u76ee\u5f55\u4e2d\u66f4\u6539\u6587\u4ef6\u5c31\u4f1a\u5728\u6e90\u6587\u4ef6\u76ee\u5f55\u4e2d\u540c\u6b65\u53d8\u5316<\/p>\n

\u94fe\u63a5\u6709\u4e24\u79cd\uff0c\u4e00\u79cd\u88ab\u79f0\u4e3a\u786c\u94fe\u63a5\uff08HardLink\uff09linux\u64cd\u4f5c\u7cfb\u7edf\u600e\u4e48\u6837\uff0c\u53e6\u4e00\u79cd\u88ab\u79f0\u4e3a\u7b26\u53f7\u94fe\u63a5\uff08SymbolicLink\uff09\u3002\u6784\u5efa\u786c\u94fe\u63a5\u65f6\uff0c\u94fe\u63a5\u6587\u4ef6\u548c\u88ab\u94fe\u63a5\u6587\u4ef6\u5fc5\u987b\u5750\u843d\u540c\u4e00\u4e2a\u6587\u4ef6\u7cfb\u7edf\u4e2d\uff0c\u800c\u4e14\u4e0d\u80fd\u6784\u5efa\u6307\u5411\u76ee\u5f55\u7684\u786c\u94fe\u63a5\u3002\u800c\u5bf9\u7b26\u53f7\u94fe\u63a5\uff0c\u5219\u4e0d\u5b58\u5728\u8fd9\u4e2a\u95ee\u9898\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cln\u5f62\u6210\u786c\u94fe\u63a5\u3002<\/p>\n

ln\u547d\u4ee4<\/p>\n

\u7528\u9014<\/p>\n

linux\u4fee\u6539link_linux\u94fe\u63a5\u6587\u4ef6\u6307\u5411_linux \u4fee\u6539\u94fe\u63a5\u6307\u5411<\/p>\n

\u94fe\u63a5\u6587\u4ef6\u3002<\/p>\n

\u53e5\u578b<\/p>\n

\u5c06\u67d0\u4e2a\u6587\u4ef6\u94fe\u63a5\u5230\u4e00\u4e2a\u6587\u4ef6\u4e0a<\/p>\n

ln[-f|-n][-s]SourceFile[TargetFile]<\/p>\n

\u5c06\u4e00\u4e2a\u6216\u591a\u4e2a\u6587\u4ef6\u94fe\u63a5\u5230\u4e00\u4e2a\u76ee\u5f55\u4e0a<\/p>\n

ln[-f|-n][-s]SourceFile...TargetDirectory<\/p>\n

\u63cf\u8ff0<\/p>\n

ln\u547d\u4ee4\u5c06\u5728SourceFile\u53c2\u6570\u624b\u6307\u5b9a\u7684\u6587\u4ef6\u94fe\u63a5\u5230\u5728TargetFile\u53c2\u6570\u624b\u6307\u5b9a\u7684\u6587\u4ef6\uff0c\u6216\u5c06\u5176\u94fe\u63a5\u5230\u5728TargetDirectory\u53c2\u6570\u624b\u6307\u5b9a\u7684\u53e6\u4e00\u4e2a\u76ee\u5f55\u4e2d\u7684\u6587\u4ef6\u3002\u5728\u7f3a\u7701\u60c5\u51b5\u4e0b\uff0cln\u547d\u4ee4\u4f1a\u521b\u5efa\u786c\u94fe\u63a5\u3002\u5047\u5982\u987b\u8981\u4f7f\u7528ln\u547d\u4ee4\u6765\u521b\u5efa\u7b26\u53f7\u94fe\u63a5\uff0c\u8bf7\u6307\u660e-s\u6807\u5fd7\u3002<\/p>\n

\u7b26\u53f7\u94fe\u63a5\u662f\u6307\u5411\u6587\u4ef6\u7684\u4e00\u4e2a\u95f4\u63a5\u8868\u9488\uff1b\u5b83\u7684\u76ee\u5f55\u9879\u4e2d\u5305\u542b\u4e86\u5b83\u6240\u94fe\u63a5\u7684\u6587\u4ef6\u540d\u3002\u7b26\u53f7\u94fe\u63a5\u53ef\u80fd\u4f1a\u8de8\u8d8a\u6587\u4ef6\u7cfb\u7edf\uff0c\u53ef\u80fd\u6307\u5411\u76ee\u5f55\u3002<\/p>\n

\u5047\u5982\u6b63\u5728\u5c06\u67d0\u4e2a\u6587\u4ef6\u94fe\u63a5\u5230\u65b0\u7684\u540d\u5b50\uff0c\u8fd9\u4e48\u53ea\u80fd\u5217\u4e3e\u4e00\u4e2a\u6587\u4ef6\u3002\u5047\u5982\u94fe\u63a5\u5230\u4e00\u4e2a\u76ee\u5f55\uff0c\u8fd9\u4e48\u53ef\u4ee5\u5217\u4e3e\u591a\u4e2a\u6587\u4ef6\u3002<\/p>\n

TargetFile\u53c2\u6570\u662f\u53ef\u9009\u7684\u3002\u5047\u5982\u4e0d\u6307\u5b9a\u76ee\u6807\u6587\u4ef6\uff0cln\u547d\u4ee4\u4f1a\u5728\u5f53\u524d\u7684\u76ee\u5f55\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6587\u4ef6\u3002\u65b0\u7684\u6587\u4ef6\u627f\u7ee7\u4e86\u6307\u5b9a\u5728SourceFile\u53c2\u6570\u4e2d\u7684\u6587\u4ef6\u540d\u3002\u8bf7\u53c2\u9605\u793a\u4f8b5\u3002<\/p>\n

\u6ce8\u610f\uff1a<\/p>\n

\u5047\u5982\u4e0d\u4f7f\u7528-s\u6807\u5fd7\uff0c\u5c31\u4e0d\u80fd\u5728\u6587\u4ef6\u7cfb\u7edf\u4e4b\u95f4\u94fe\u63a5\u6587\u4ef6\u3002<\/p>\n

\u5047\u5982TargetDirectory\u65e9\u5df2\u662f\u94fe\u63a5\u5230\u76ee\u5f55\u4e0a\u7684\u4e00\u4e2a\u7b26\u53f7\u94fe\u63a5linux \u4fee\u6539\u94fe\u63a5\u6307\u5411<\/strong>\uff0c\u8fd9\u4e48ln\u547d\u4ee4\u5c06\u73b0\u6709\u7684\u76ee\u6807\u89c6\u4e3a\u6587\u4ef6\u3002\u8fd9\u610f\u5473\u7740\uff0c\u7c7b\u4f3c\u4e8eln-fssomepath\/lnamesymdir\u7684\u547d\u4ee4\u4e0d\u4f1a\u9075\u5b88\u73b0\u6709\u7684symdir\u7b26\u53f7\u94fe\u63a5\uff0c\u4f5c\u4e3a\u66ff\u4ee3\uff0c\u5b83\u4f1a\u521b\u5efa\u4e00\u4e2a\u4ecesomepath\/lname\u5230symdir\u7684\u65b0\u7684\u7b26\u53f7\u94fe\u63a5\u3002<\/p>\n

\u6807\u5fd7<\/p>\n

-f\u4f7f\u5f97ln\u547d\u4ee4\u66ff\u6362\u6389\u4efb\u4f55\u65e9\u5df2\u5b58\u5728\u7684\u76ee\u7684\u8def\u5f84\u3002\u5047\u5982\u76ee\u7684\u8def\u5f84\u65e9\u5df2\u5b58\u5728\uff0c\u800c\u6ca1\u6709\u6307\u5b9a-f\u6807\u5fd7\uff0cln\u547d\u4ee4\u4e0d\u4f1a\u521b\u5efa\u65b0\u7684\u94fe\u63a5\uff0c\u800c\u662f\u5411\u6807\u51c6\u9519\u8bef\u5199\u4e00\u6761\u786e\u8bca\u6d88\u606f\u5e76\u7ee7\u7eed\u94fe\u63a5\u5269\u4e0b\u7684SourceFiles\u3002<\/p>\n

-n\u6307\u5b9a\uff0c\u5047\u5982\u94fe\u63a5\u662f\u4e00\u4e2a\u73b0\u6709\u7684\u6587\u4ef6\uff0c\u8fd9\u4e48\u4e0d\u8981\u8986\u76d6\u6587\u4ef6\u7684\u5185\u5bb9\u3002-f\u6807\u5fd7\u91cd\u8bbe\u4e86\u8fd9\u4e2a\u6807\u5fd7\u3002\u8fd9\u662f\u7f3a\u7701\u7684\u884c\u4e3a\u3002<\/p>\n

-s\u4f7f\u5f97ln\u547d\u4ee4\u521b\u5efa\u7b26\u53f7\u94fe\u63a5\u3002\u7b26\u53f7\u94fe\u63a5\u4e2d\u5305\u542b\u4e86\u5b83\u6240\u94fe\u63a5\u7684\u6587\u4ef6\u7684\u540d\u5b50\u3002\u5f53\u5bf9\u94fe\u63a5\u6267\u884c\u6253\u5f00\u64cd\u4f5c\u7684\u65f6\u4faf\uff0c\u4f1a\u4f7f\u7528\u5230\u5f15\u7528\u6587\u4ef6\u3002\u5bf9\u7b26\u53f7\u94fe\u63a5\u7684stat\u8c03\u7528\u4f1a\u8fd4\u56de\u94fe\u63a5\u7684\u76ee\u6807\u6587\u4ef6\uff1b\u5fc5\u987b\u5b8c\u6210lstat\u8c03\u7528\u6765\u83b7\u53d6\u94fe\u63a5\u7684\u4fe1\u606f\u3002\u53ef\u4ee5\u4f7f\u7528readlink\u8c03\u7528\u6765\u8bfb\u53d6\u7b26\u53f7\u94fe\u63a5\u7684\u5185\u5bb9\u3002\u7b26\u53f7\u94fe\u63a5\u53ef\u80fd\u8de8\u8d8a\u6587\u4ef6\u7cfb\u7edf\uff0c\u6307\u5411\u76ee\u5f55\u3002<\/p>\n

\u6ce8\u610f\uff1a\u5f53\u4e3a-s\u6807\u5fd7\u6307\u5b9aSourceFile\u53c2\u6570\u7684\u65f6\u4faf\uff0c\u5fc5\u987b\u4f7f\u7528\u7edd\u5bf9\u8def\u5f84\u3002\u5047\u5982\u6ca1\u6709\u6307\u660e\u7edd\u5bf9\u8def\u5f84\uff0c\u8fd9\u4e48\u5f53SourceFile\u548cTargetFile\u53c2\u6570\u5750\u843d\u4e0d\u540c\u7684\u76ee\u5f55\u4e2d\u7684\u65f6\u4faf\uff0c\u53ef\u80fd\u4f1a\u53d1\u751f\u610f\u5916\u7684\u7ed3\u679c\u3002\u5728\u521b\u5efa\u7b26\u53f7\u94fe\u63a5\u4e4b\u524d\uff0c\u4e0d\u987b\u8981\u5b58\u5728\u6e90\u6587\u4ef6\u3002<\/p>\n

\u9000\u51fa\u72b6\u6001<\/p>\n

\u6b64\u547d\u4ee4\u8fd4\u56de\u4ee5\u4e0b\u7684\u9000\u51fa\u503c\uff1a<\/p>\n

0\u6240\u6709\u6307\u5b9a\u7684\u6587\u4ef6\u90fd\u6210\u529f\u94fe\u63a5\u4e0a\u4e86\u3002<\/p>\n

>0\u51fa\u73b0\u4e00\u6b21\u9519\u8bef\u3002<\/p>\n

\u793a\u4f8b<\/p>\n

\u96f6\u3001\u4e3a\u4e86\u521b\u5efa\u5230\u4e00\u4e2a\u6587\u4ef6\u7684\u53e6\u4e00\u4e2a\u94fe\u63a5\uff08\u522b\u79f0\uff09\uff0c\u8bf7\u8f93\u5165\uff1a<\/p>\n

ln-fchap1intro<\/p>\n

\u8fd9\u4f1a\u5c06chap1\u94fe\u63a5\u5230\u65b0\u7684\u540d\u79f0\uff0cintro\u3002\u5047\u5982intro\u4e0d\u5b58\u5728\uff0c\u8fd9\u4e48\u4f1a\u521b\u5efa\u8be5\u6587\u4ef6\u540d\u3002\u5047\u5982intro\u65e9\u5df2\u5b58\u5728\u4e86\uff0c\u8fd9\u4e48\u8fd9\u4e2a\u6587\u4ef6\u4f1a\u88ab\u66ff\u6362\u4e3a\u6307\u5411chap1\u7684\u4e00\u4e2a\u94fe\u63a5\u3002\u4e4b\u540echap1\u548cintro\u6587\u4ef6\u540d\u4f1a\u6307\u5411\u540c\u4e00\u4e2a\u6587\u4ef6\u3002\u5bf9\u5176\u4e2d\u4efb\u4f55\u4e00\u4e2a\u7684\u4fee\u6539\u8fd8\u4f1a\u51fa\u73b0\u5728\u53e6\u4e00\u4e2a\u4e2d\u3002\u5047\u5982\u4e00\u4e2a\u6587\u4ef6\u540d\u88abrm\u547d\u4ee4\u5220\u6389\uff0c\u8fd9\u4e48\u8be5\u6587\u4ef6\u5e76\u6ca1\u6709\u5b8c\u5168\u88ab\u5220\u6389\uff0c\u7531\u4e8e\u5b83\u4f9d\u7136\u4ee5\u5176\u5b83\u7684\u540d\u5b50\u5b58\u5728\u3002<\/p>\n

\u4e00\u3001\u4e3a\u4e86\u5c06\u6587\u4ef6\u94fe\u63a5\u4e3a\u53e6\u4e00\u4e2a\u76ee\u5f55\u4e2d\u7684\u76f8\u540c\u540d\u5b57\uff0c\u8bf7\u8f93\u5165\uff1a<\/p>\n

lnindexmanual<\/p>\n

\u8fd9\u4f1a\u5c06index\u94fe\u63a5\u5230\u65b0\u7684\u540d\u79f0\uff0cmanual\/index\u3002<\/p>\n

\u6ce8\u610f\uff1a\u5728\u793a\u4f8b1\u4e2d\u7684intro\u662f\u4e00\u4e2a\u6587\u4ef6\u7684\u540d\u79f0\uff1b\u5728\u793a\u4f8b2\u4e2d\u7684manual\u662f\u4e00\u4e2a\u65e9\u5df2\u5b58\u5728\u7684\u76ee\u5f55\u3002<\/p>\n

\u4e8c\u3001\u4e3a\u4e86\u5c06\u51e0\u4e2a\u6587\u4ef6\u94fe\u63a5\u4e3a\u53e6\u4e00\u4e2a\u76ee\u5f55\u4e2d\u7684\u540d\u79f0\uff0c\u8bf7\u8f93\u5165\uff1a<\/p>\n

lnchap2jim\/chap3\/home\/manual<\/p>\n

\u8fd9\u4f1a\u5c06chap2\u94fe\u63a5\u5230\u65b0\u7684\u540d\u79f0\/home\/manual\/chap2\uff1b\u5c06jim\/chap3\u94fe\u63a5\u5230\u65b0\u7684\u540d\u79f0\/home\/manual\/chap3\u3002<\/p>\n

\u4e09\u3001\u5982\u679c\u60f3\u8981\u5728ln\u547d\u4ee4\u4e2d\u4f7f\u7528\u6a21\u5f0f\u5339\u914d\u5b57\u7b26\uff0c\u8bf7\u8f93\u5165\uff1a<\/p>\n

nmanual\/*.<\/p>\n

\u8fd9\u4f1a\u5c06manual\u76ee\u5f55\u4e2d\u7684\u6240\u6709\u6587\u4ef6\u94fe\u63a5\u5230\u5f53\u524d\u76ee\u5f55\u4e2d\uff0c.\uff08\u70b9\uff09\uff0c\u7ed9\u5979\u4eec\u5728manual\u76ee\u5f55\u4e2d\u540c\u6837\u7684\u540d\u79f0\u3002<\/p>\n

\u6ce8\u610f\uff1a\u5fc5\u987b\u5728\u661f\u53f7\u548c\u53e5\u70b9\u4e4b\u95f4\u8f93\u5165\u4e00\u4e2a\u7a7a\u683c\u3002<\/p>\n

\u56db\u3001\u4e3a\u4e86\u521b\u5efa\u4e00\u4e2a\u7b26\u53f7\u94fe\u63a5\uff0c\u8f93\u5165\uff1a<\/p>\n

ln-s\/tmp\/toctoc<\/p>\n

\u8fd9\u4f1a\u5728\u5f53\u524d\u7684\u76ee\u5f55\u4e2d\u521b\u5efa\u7b26\u53f7\u94fe\u63a5toc\u3002toc\u6587\u4ef6\u6307\u5411\/tmp\/toc\u6587\u4ef6\u3002\u5047\u5982\/tmp\/toc\u6587\u4ef6\u65e9\u5df2\u5b58\u5728\u4e86\uff0c\u8fd9\u4e48cattoc\u547d\u4ee4\u53ef\u4ee5\u5217\u4e3e\u5176\u5185\u5bb9\u3002<\/p>\n

\u4e94\u3001\u5982\u679c\u60f3\u8981\u5728\u4e0d\u6307\u660eTargetFile\u53c2\u6570\u7684\u60c5\u51b5\u4e0b\u5f97\u5230\u76f8\u540c\u7684\u7ed3\u679c\uff0c\u8bf7\u8f93\u5165\uff1a<\/p>\n

ln-s\/tmp\/toc<\/p>\n","protected":false},"excerpt":{"rendered":"

\u7b2c\u4e00\uff0cln\u547d\u4ee4\u4f1a\u4fdd\u6301\u6bcf\u4e00\u5904\u94fe\u63a5\u6587\u4ef6\u7684\u540c\u6b65\u6027\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c\u4e0d\u8bba\u4f60\u6539\u52a8\u4e86\u54ea\u4e00\u5904\uff0c\u5176\u5b83\u7684\u6587\u4ef6\u90fd\u4f1a\u53d1\u751f\u76f8\u540c\u7684\u53d8\u5316\uff1b\u5b9e\u4f8b1\uff1a\u7ed9\u6587\u4ef6\u521b\u5efa\u8f6f\u94fe\u63a5\u4e3alog2013.log\u6587\u4ef6\u521b\u5efa\u8f6f\u94fe\u63a5link2013\uff0c\u5982\u679clog2013.log\u4e22\u5931\uff0clink2013\u5c06\u5931\u6548<\/p>\n","protected":false},"author":1,"featured_media":294366,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[4265],"class_list":["post-294365","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-lmllyljrljtb"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294365","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=294365"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294365\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/294366"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=294365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=294365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=294365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}