LSCOLORS(1)

πŸ“¦ version 0.21.0, in epel 10, epel 9, fedora 43, fedora 44

πŸ’– 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 as ls(1); see also dircolors(1). so if you already know how ls decides 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 met LS_COLORS before, don't panic, just go say hi to dircolors(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