{"id":6502,"date":"2020-01-21T11:22:42","date_gmt":"2020-01-21T03:22:42","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=6502"},"modified":"2020-01-21T16:47:36","modified_gmt":"2020-01-21T08:47:36","slug":"readonly","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/readonly","title":{"rendered":"readonly\u547d\u4ee4 – \u6807\u8bb0shell\u53d8\u91cf\u6216\u51fd\u6570\u4e3a\u53ea\u8bfb"},"content":{"rendered":"\n
readonly\u547d\u4ee4\u4e3b\u8981\u7528\u4e8e\u5b9a\u4e49\u4e00\u5230\u591a\u4e2a\u53d8\u91cf\u5e76\u8bbe\u7f6e\u53ea\u8bfb\u5c5e\u6027, \u4e3a\u5df2\u5b9a\u4e49\u7684\u4e00\u5230\u591a\u4e2a\u53d8\u91cf\u8bbe\u7f6e\u53ea\u8bfb\u5c5e\u6027, \u663e\u793a\u5168\u90e8\u5305\u542b\u53ea\u8bfb\u5c5e\u6027\u7684\u53d8\u91cf , \u4e3a\u5df2\u5b9a\u4e49\u7684\u4e00\u5230\u591a\u4e2a\u51fd\u6570\u8bbe\u7f6e\u53ea\u8bfb\u5c5e\u6027 ,\u663e\u793a\u5168\u90e8\u5305\u542b\u53ea\u8bfb\u5c5e\u6027\u7684\u51fd\u6570\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong> readonly [\u53c2\u6570]<\/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 \u663e\u793a\u5168\u90e8\u53ea\u8bfb\u53d8\u91cf\uff1a<\/p>\n\n\n\n \u663e\u793a\u5168\u90e8\u62e5\u6709\u53ea\u8bfb\u5c5e\u6027\u7684\u6570\u7ec4\uff1a<\/p>\n\n\n\n \u663e\u793a\u5168\u90e8\u62e5\u6709\u53ea\u8bfb\u5c5e\u6027\u7684\u5173\u8054\u6570\u7ec4\uff1a<\/p>\n\n\n\n \u663e\u793a\u5168\u90e8\u62e5\u6709\u53ea\u8bfb\u5c5e\u6027\u7684\u51fd\u6570\uff1a<\/p>\n\n\n\n \u5728\u5b83\u4e4b\u540e\u7684\u9009\u9879\u65e0\u6548\uff1a<\/p>\n\n\n\n <\/p>\n\n\n\n <\/p>\n","protected":false},"excerpt":{"rendered":" readonly\u547d\u4ee4\u4e3b\u8981\u7528\u4e8e\u5b9a\u4e49\u4e00\u5230\u591a\u4e2a\u53d8\u91cf\u5e76\u8bbe\u7f6e\u53ea\u8bfb\u5c5e\u6027, \u4e3a\u5df2\u5b9a\u4e49\u7684\u4e00\u5230\u591a\u4e2a\u53d8\u91cf\u8bbe\u7f6e\u53ea\u8bfb\u5c5e\u6027, \u663e\u793a\u5168\u90e8\u5305 […]<\/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\/6502"}],"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=6502"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6502\/revisions"}],"predecessor-version":[{"id":6562,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6502\/revisions\/6562"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=6502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=6502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=6502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-a<\/td> \u6307\u5411\u6570\u7ec4 <\/td><\/tr> -A<\/td> \u6307\u5411\u5173\u8054\u6570\u7ec4 <\/td><\/tr> -p<\/td> \u793a\u5168\u90e8\u53ea\u8bfb\u53d8\u91cf <\/td><\/tr> -f<\/td> \u6307\u5411\u51fd\u6570 <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# readonly <\/pre>\n\n\n\n
[root@linuxcool ~]# readonly -a<\/pre>\n\n\n\n
[root@linuxcool ~]# readonly -A<\/pre>\n\n\n\n
[root@linuxcool ~]# readonly -f <\/pre>\n\n\n\n
[root@linuxcool ~]# readonly -- <\/pre>\n\n\n\n