LSCOLORS(1)
π LSCOLORS(1) β like, the manual page, bestie π
okay so first things first: this is LSCOLORS(1) from the User Commands section of the manual, and it's genuinely one of those tiny little utilities that just β¨does its one jobβ¨ and does it flawlessly. no cap. it doesn't need a whole personality, it just needs to make your terminal pretty, and honestly? iconic behaviour.
π NAME π
lscolors β Colorize the output of other commands
like. that's it. that's the whole thing. it takes stuff other commands spit out and it colorizes it. bestie behaviour fr fr.
π SYNOPSIS π
lscolors
no flags. no arguments. no drama. she takes zero inputs and gives you zero inputs back, she just vibes and colors things. the way that this is the entire synopsis and i'm obsessed π
π¦ ENVIRONMENT π¦
LS_COLORSβ this is the queen bee right here π. it Controls colorization, in the same manner asls(1); see alsodircolors(1). so if you already know howlsdecides what's pink and what's cyan and what's got that little underline situation going on β yeah, same rules, same energy, it's giving consistent. if you've never metLS_COLORSbefore, don't panic, just go say hi todircolors(1)and it'll explain everything π
ngl if your LS_COLORS is a mess, your output is gonna be a mess. vibe check your env var first, bestie π«Ά
πΈ EXAMPLES πΈ
okay here's where it gets fun. two whole examples, and they both absolutely ate:
example the first β find stuff, then make it cute:
find . -maxdepth 2 | lscolors
example the second β ripgrep your files, but make it fashion:
rg foo -l | lscolors
see the pattern? pipe something into it, get color back out. literally that simple. that's the whole trick. the way that this utility is just a glow-up filter for other commands πβ¨
π SEE ALSO π
go read these too, they're all part of the same friend group:
lowkey the most important thing: every single detail above is exactly as it was in the original. same options, same env var, same commands, same cross-references. i just gave it a little main character energy on the way over π§
and that's the page, bestie!! π this one's dated May 2025, from the LSCOLORS(1) manual page in the User Commands section β go forth and pipe things into it, slay, periodt π
ππ
π¦ where this page comes from
- epel 10: lscolors 0.21.0-1.el10_3 Β· MIT AND (MIT OR Apache-2.0) AND (Unlicense OR MIT)
- epel 9: lscolors 0.21.0-1.el9 Β· MIT AND (MIT OR Apache-2.0) AND (Unlicense OR MIT)
- fedora 43: lscolors 0.20.0-3.fc43 Β· MIT AND (MIT OR Apache-2.0) AND (Unlicense OR MIT)
- fedora 43: lscolors 0.21.0-1.fc43 Β· MIT AND (MIT OR Apache-2.0) AND (Unlicense OR MIT)
- fedora 44: lscolors 0.21.0-1.fc44 Β· MIT AND (MIT OR Apache-2.0) AND (Unlicense OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms