Output commands to set the LS_COLORS environment variable.
Usage: dircolors [OPTION]... [FILE]
Options:
-b, --sh output Bourne shell code to set LS_COLORS [alias: --bourne-shell]
-c, --csh output C shell code to set LS_COLORS [alias: --c-shell]
-p, --print-database print the byte counts
--print-ls-colors output fully escaped colors for display
-h, --help Print help
-V, --version Print version
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'
Options (6)
| Option | Description | Source |
|---|
-b, --sh | output Bourne shell code to set LS_COLORS [alias: --bourne-shell] | help + man |
-c, --csh | output C shell code to set LS_COLORS [alias: --c-shell] | help + man |
-p, --print-database | print the byte counts | help + man |
--print-ls-colors | output fully escaped colors for display | help + man |
-h, --help | Print help | help + man |
-V, --version | Print version | help + man |
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.