{"id":5416,"date":"2019-11-12T14:19:37","date_gmt":"2019-11-12T06:19:37","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=5416"},"modified":"2019-11-28T21:39:10","modified_gmt":"2019-11-28T13:39:10","slug":"readlink","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/readlink","title":{"rendered":"readlink\u547d\u4ee4 – \u627e\u51fa\u7b26\u53f7\u94fe\u63a5\u6240\u6307\u5411\u7684\u4f4d\u7f6e"},"content":{"rendered":"\n
readlink\u662fLinux\u7cfb\u7edf\u4e2d\u4e00\u4e2a\u5e38\u7528\u5de5\u5177\uff0c\u4e3b\u8981\u7528\u6765\u627e\u51fa\u7b26\u53f7\u94fe\u63a5\u6240\u6307\u5411\u7684\u4f4d\u7f6e\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>readlink [\u53c2\u6570] [\u6587\u4ef6]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u67e5\u770b\u8f6f\u94fe\u6587\u4ef6\u771f\u5b9e\u6587\u4ef6\uff1a<\/p>\n\n\n\n readlink\u662fLinux\u7cfb\u7edf\u4e2d\u4e00\u4e2a\u5e38\u7528\u5de5\u5177\uff0c\u4e3b\u8981\u7528\u6765\u627e\u51fa\u7b26\u53f7\u94fe\u63a5\u6240\u6307\u5411\u7684\u4f4d\u7f6e\u3002 \u8bed\u6cd5\u683c\u5f0f\uff1areadlink […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5416"}],"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=5416"}],"version-history":[{"count":6,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5416\/revisions"}],"predecessor-version":[{"id":5823,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5416\/revisions\/5823"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=5416"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=5416"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=5416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-f <\/td> \u9012\u5f52\u8ddf\u968f\u7ed9\u51fa\u6587\u4ef6\u540d\u7684\u6240\u6709\u7b26\u53f7\u94fe\u63a5\u4ee5\u6807\u51c6\u5316,\u9664\u6700\u540e\u4e00\u4e2a\u5916\u6240\u6709\u7ec4\u4ef6\u5fc5\u987b\u5b58\u5728<\/td><\/tr> -e<\/td> \u9012\u5f52\u8ddf\u968f\u7ed9\u51fa\u6587\u4ef6\u540d\u7684\u6240\u6709\u7b26\u53f7\u94fe\u63a5\u4ee5\u6807\u51c6\u5316\uff0c\u6240\u6709\u7ec4\u4ef6\u90fd\u5fc5\u987b\u5b58\u5728<\/td><\/tr> -n<\/td> \u4e0d\u8f93\u51fa\u5c3e\u968f\u7684\u65b0\u884c<\/td><\/tr> -s<\/td> \u7f29\u51cf\u5927\u591a\u6570\u7684\u9519\u8bef\u6d88\u606f<\/td><\/tr> -v<\/td> \u62a5\u544a\u6240\u6709\u9519\u8bef\u6d88\u606f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# ll \/etc\/system-release \nlrwxrwxrwx. 1 root root 14 5\u6708 21 01:56 \/etc\/system-release -> centos-release\n\n[root@linuxcool ~]# readlink -f \/etc\/system-release\n\/etc\/centos-release\n<\/pre>\n","protected":false},"excerpt":{"rendered":"