dircolors
all
Output commands to set the `$LS_COLOR` environment variable and style `ls`, `dir`, etc.
More info →Options (3)
-b, --bourne-shellbooleanOutput commands for Bourne shell
Example:
dircolors {{[-b|--bourne-shell]}}-c, --c-shellbooleanOutput commands for C shell
Example:
dircolors {{[-c|--c-shell]}}-p, --print-databasebooleanView the default colors for file types and extensions
Example:
dircolors {{[-p|--print-database]}}Examples (6)
Output commands to set `$LS_COLOR` using default colors
Display each filetype with the color they would appear in `ls`
dircolors --print-ls-colorsOutput commands to set `$LS_COLOR` using colors from a file
dircolors path/to/fileOutput commands for Bourne shell
dircolors [-b|--bourne-shell]Output commands for C shell
dircolors [-c|--c-shell]View the default colors for file types and extensions
dircolors [-p|--print-database]made by @shridhargupta | data from tldr-pages