Dircolors
来自 ChinaUnix Wiki
Linux命令:dircolors
功能说明:设置 ls 指令在显示目录或文件时所用的色彩。
语 法:dircolors [色彩配置文件] 或 dircolors [-bcp][--help][--version]
补充说明:dircolors可根据[色彩配置文件]来设置LS_COLORS环境变量或是显示设置LS_COLORS环境变量的shell指令。
参 数: -b或--sh或--bourne-shell 显示在Boune shell中,将LS_COLORS设为目前预设置的shell指令。 -c或--csh或--c-shell 显示在C shell中,将LS_COLORS设为目前预设置的shell指令。 -p或--print-database 显示预设置 -help 显示帮助。 -version 显示版本信息。
英文版本,欢迎翻译:
名字 dircolors - ls命令颜色方案设置
语法 dircolors [OPTION]... [FILE]
描述 设置LS_COLORS环境变量的输出命令 Output commands to set the LS_COLORS environment variable.
Determine format of output: 输出格式
-b, --sh, --bourne-shell output Bourne shell code to set LS_COLORS 显示在Boune shell中,将LS_COLORS设为目前预设置的shell指令。
-c, --csh, --c-shell output C shell code to set LS_COLORS 显示在C shell中,将LS_COLORS设为目前预设置的shell指令。
-p, --print-database output defaults 显示预设置
--help display this help and exit
--version output version information and exit
If FILE is specified, read it to determine which colors to use for which file types and extensions. Otherwise, a precompiled database is used. For details on the format of these files, run `dircolors --print-database.
AUTHOR Written by H. Peter Anvin.
REPORTING BUGS Report bugs to <bug-fileutils@gnu.org>.
COPYRIGHT Copyright ?2000 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MER? CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
SEE ALSO The full documentation for dircolors is maintained as a Texinfo manual. If the info and dircolors pro? grams are properly installed at your site, the command
info dircolors
should give you access to the complete manual.
GNU fileutils 4.0.36 January 2001 1
