当前位置: 技术问答>linux和unix
请问怎么配置 ls --color=auto 的显示颜色呀?
来源: 互联网 发布时间:2016-01-12
本文导语: 在我的显示器上,ls --color=auto 有些颜色非常难于辨认, 请问怎么配置 ls --color=auto 的显示颜色呀? 谢谢! | The environment variable LS_COLORS can influence the colors, and can be set easily by the...
在我的显示器上,ls --color=auto 有些颜色非常难于辨认,
请问怎么配置 ls --color=auto 的显示颜色呀?
谢谢!
请问怎么配置 ls --color=auto 的显示颜色呀?
谢谢!
|
The environment variable LS_COLORS can influence the colors, and can be set easily by
the dircolors command.
the dircolors command.
|
修改 LS_COLORS 變量.
|
By default, color is not used to distinguish types of files. That is
equivalent to using --color=none. Using the --color option without the
optional WHEN argument is equivalent to using --color=always. With
--color=auto, color codes are output only if standard output is
connected to a terminal (tty).
equivalent to using --color=none. Using the --color option without the
optional WHEN argument is equivalent to using --color=always. With
--color=auto, color codes are output only if standard output is
connected to a terminal (tty).