{"id":2504,"date":"2019-05-26T00:31:06","date_gmt":"2019-05-25T16:31:06","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=2504"},"modified":"2019-05-26T00:31:07","modified_gmt":"2019-05-25T16:31:07","slug":"dircolors","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/dircolors","title":{"rendered":"dircolors\u547d\u4ee4 – \u8bbe\u7f6e ls \u6307\u4ee4\u5728\u663e\u793a\u76ee\u5f55\u6216\u6587\u4ef6\u65f6\u6240\u7528\u7684\u8272\u5f69"},"content":{"rendered":"\n

dircolors\u53ef\u6839\u636e\u8272\u5f69\u914d\u7f6e\u6587\u4ef6\u6765\u8bbe\u7f6eLS_COLORS\u73af\u5883\u53d8\u91cf\u6216\u662f\u663e\u793a\u8bbe\u7f6eLS_COLORS\u73af\u5883\u53d8\u91cf\u7684shell\u6307\u4ee4\u3002 <\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>dircolors [\u53c2\u6570] <\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
--help <\/td>\u5728\u7ebf\u5e2e\u52a9 <\/td><\/tr>
--vesion <\/td>\u663e\u793a\u7248\u672c\u4fe1\u606f <\/td><\/tr>
-b<\/td>\u663e\u793a\u5728Boume shell\u4e2d\uff0c\u5c06LS_COLORS\u8bbe\u4e3a\u76ee\u524d\u9884\u8bbe\u7f6e\u7684shell\u6307\u4ee4 <\/td><\/tr>
-c<\/td>\u663e\u793a\u5728C shell\u4e2d\uff0c\u5c06LS_COLORS\u8bbe\u4e3a\u76ee\u524d\u9884\u8bbe\u7f6e\u7684shell\u6307\u4ee4 <\/td><\/tr>
-p<\/td>\u663e\u793a\u9884\u8bbe\u7f6e <\/td><\/tr><\/tbody><\/table>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u663e\u793a\u9ed8\u8ba4\u503c\uff1a <\/p>\n\n\n\n

[root@linuxcool ~]# dircolors -p <\/pre>\n","protected":false},"excerpt":{"rendered":"

dircolors\u53ef\u6839\u636e\u8272\u5f69\u914d\u7f6e\u6587\u4ef6\u6765\u8bbe\u7f6eLS_COLORS\u73af\u5883\u53d8\u91cf\u6216\u662f\u663e\u793a\u8bbe\u7f6eLS_COLORS\u73af\u5883\u53d8\u91cf\u7684s […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2504"}],"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=2504"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2504\/revisions"}],"predecessor-version":[{"id":2518,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2504\/revisions\/2518"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=2504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=2504"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=2504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}