dircolors − 设置 ls 的颜色
dircolors [OPTION]... [FILE]
输出 用于 设置 LS_COLORS 环境变量 的 命令.
确定输出格式:
−b, −−sh, −−bourne−shell
输出 用于 设置 LS_COLORS 的 Bourne shell 命令
−c, −−csh, −−c−shell
输出 用于 设置 LS_COLORS 的 C shell 命令
−p, −−print−database
输出 缺省命令
−−help |
显示 帮助信息, 然后 结束 |
−−version
显示 版本信息, 然后 结束
如果 指定了 文件 FILE, dircolors 读取 该文件 的 内容 以 决定 什么 颜色 对应 什么 文件类型 和 文件扩展名, 否则 就 使用 预编译 的 数据. 欲知 格式 细节, 请 运行 命令 ‘dircolors −−print−database’.
H. Peter Anvin.
发现的 bug 送往 <bug-fileutils AT gnu DOT org>.
Copyright © 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
dircolors 的 完整文档 以 Texinfo 手册 的 格式 维护. 如果 正确 安装了 info 和 dircolors 程序, 使用 命令
info dircolors
能够 访问到 完整 的 手册.
徐明 <xuming AT iname DOT com>
2001/12/10 第一版
http://cmpp.linuxforum.net