DIRCOLORS(1)
β¨ DIRCOLORS(1) β¨
okay bestie, so it's called dircolors β yeah literally color setup for ls π
and it's about to make your terminal look absolutely gorgeous.
π¦ SYNOPSIS π¦
dircolors [OPTION]... [FILE]
π DESCRIPTION π
So what this girl does is output commands to set the LS_COLORS environment variable. That's it. That's the whole job. She prints shell code, you eval it, and suddenly your ls output is giving rainbow main character energy instead of sad monochrome gremlin vibes. π
π Determine format of output π
Pick your shell's flavor, bestie:
-b,--sh,--bourne-shellβ output Bourne shell code to setLS_COLORSπ-c,--csh,--c-shellβ output C shell code to setLS_COLORSπ-p,--print-databaseβ output defaults β¨--print-ls-colorsβ output fully escaped colors for display π₯--helpβ display this help and exit πβοΈ--versionβ output version information and exit π
ngl the whole FILE situation matters: ifFILEis specified, she reads it to determine which colors to use for which file types and extensions. Otherwise, a precompiled database is used. And for details on the format of these files? Rundircolors --print-database. Periodt. π
π AUTHOR π
Written by H. Peter Anvin. iconic behavior, we stan π«Ά
π REPORTING BUGS π
Found a bug? Don't suffer in silence, tell the devs:
- Report bugs to:
bug-coreutils@gnu.org - GNU coreutils home page:
https://www.gnu.org/software/coreutils/ - General help using GNU software:
https://www.gnu.org/gethelp/ - Report any translation bugs to
https://translationproject.org/team/
πΈ SEE ALSO πΈ
Full documentation https://www.gnu.org/software/coreutils/dircolors
or available locally via: info '(coreutils) dircolors invocation'
Packaged by Ubuntu (9.10-1ubuntu2) Copyright Β© 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
and that's the whole page, babe π it was GNU coreutils version 9.10, dated August 2026 β go make your terminal pretty, ilysm π¦β¨π
π¦ where this page comes from
- ubuntu stonking: gnu-coreutils 9.10-1ubuntu2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms