DIRCOLORS(1)

πŸ“¦ version 0.12.0, in arch rolling

πŸ’… DIRCOLORS(1) β€” the dircolors manual, but make it fashion πŸ’…

okay so bestie, welcome to the General Commands Manual entry for dircolors, aka DIRCOLORS(1). it's giving "tiny command, big color energy" and we're gonna read it together, no cap. πŸ¦‹βœ¨


🌸 NAME 🌸

dircolors β€” output commands to set the LS_COLORS environment variable. periodt.


✨ SYNOPSIS ✨

dircolors [OPTION]... [FILE]

πŸ’– DESCRIPTION πŸ’–

so like, dircolors outputs commands to set the LS_COLORS environment variable. that's the whole main character job, and honestly? iconic. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -b, --sh β€” output Bourne shell code to set LS_COLORS 🐚
  • -c, --csh β€” output C shell code to set LS_COLORS 🐚
  • -p, --print-database β€” print the byte counts 😭 (yes, that is literally the description, bestie β€” we do not make the rules)
  • --print-ls-colors β€” output fully escaped colors for display 🌈
  • -h, --help β€” print help 🫢
  • -V, --version β€” print version ⭐

🧚 EXTRA 🧚

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. iykyk πŸ’…

ngl, that dircolors --print-database command is your little cheat sheet for the file format. don't sleep on it. πŸ“

πŸ‘‘ VERSION πŸ‘‘

the version is v(uutils coreutils) 0.12.0. yes bestie, that's the version string, character for character. πŸ’œ


catch u later, bestie β€” this iconic page is from version v(uutils coreutils) 0.12.0, dated 2026-09-17. stay colorful, fr fr. πŸŒˆπŸ’…

πŸ“¦ where this page comes from