Scroll to navigation

DIRCOLORS(1) FSF DIRCOLORS(1)

NAME

dircolors - 設置 ls 的顏色

總覽 (SYNOPSIS)

dircolors [ OPTION]... [FILE]

描述 (DESCRIPTION)

輸出 用於 設置 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'.

作者 (AUTHOR)

H. Peter Anvin.

報告 BUGS

發現的 bug 送往 <bug-fileutils@gnu.org>.

版權 (COPYRIGHT)

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.

另見 (SEE ALSO)

dircolors 的 完整文件 以 Texinfo 手冊 的 格式 維護. 如果 正確 安裝了 infodircolors 程式, 使用 命令
info dircolors
能夠 訪問到 完整 的 手冊.

[中文版維護人]

徐明 <xuming@iname.com>

[中文版最新更新]

2001/12/10 第一版

《中國Linux論壇man手冊頁翻譯計劃》:

http://cmpp.linuxforum.net
January 2000 GNU fileutils 4.0p