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