dircolors Command Examples

Output commands to set the LS_COLOR environment variable and style ls, dir, etc. More information: https://www.gnu.org/software/coreutils/manual/html_node/dircolors-invocation.html.

dircolors

dircolors --print-ls-colors

dircolors {{path/to/file}}

dircolors {{[-b|--bourne-shell]}}

dircolors {{[-c|--c-shell]}}

dircolors {{[-p|--print-database]}}