lesstty(1)
β¨ lesstty β like, the manual page bestie β¨
okay so real quick, before anything else: this is lesstty, section 1 of the General Commands Manual, and I need you to know it's about to be your new fave π
π NAME π
lesstty β run a program and yeet its output straight into a color-capable pager π
π SYNOPSIS π
lesstty command [ args... ]
like, you give it a command, and optionally a whole little squad of args... trailing behind it. that's the whole vibe check π«Ά
πΈ DESCRIPTION πΈ
So here's the tea, bestie: some programs are absolute divas and change how they behave the second they notice their output is being redirected π They'll go all monochrome and boring on you, no colors, no nothing.
lesstty runs a program like that and sends its output to less -R for viewing. So you get the pretty colors, the paging, the whole experience. iconic behavior honestly β¨
And like, no cap, this is merely a shorthand for:
pipetty command | less -R
with one lil bonus: it passes errors from command through. So if your program throws a fit, you actually hear about it instead of it getting swallowed into the void π
lowkey the whole point:pipettyhandles the fake-out so the program thinks it's talking to a terminal,less -Rhandles the pretty paging, andlessttyis the bestie that introduces them π
π¦ SEE ALSO π¦
pipetty(1)β the partner in crime that makes the program think it's on a ttyless(1)β the pager doing all the actual displaying
and that's the whole page, bestie, you ate it π
this lil gem is dated 2017-10-09, lives in the General Commands Manual as lesstty(1), and yeah that's it β go pipe something pretty ππ
π¦ where this page comes from
- debian bookworm: colorized-logs 2.6-1 Β· MIT
- debian trixie: colorized-logs 2.7-1 Β· MIT
- epel 10: colorized-logs 2.7-1.el10_1 Β· MIT
- epel 9: colorized-logs 2.7-1.el9 Β· MIT
- fedora 43: colorized-logs 2.7-2.fc43 Β· MIT
- fedora 44: colorized-logs 2.7-4.fc44 Β· MIT
- nixos 26.05: colorized-logs 2.7
- nixpkgs unstable: colorized-logs 2.7
- ubuntu jammy: colorized-logs 2.6-1 Β· MIT
- ubuntu noble: colorized-logs 2.6-1 Β· MIT
- ubuntu questing: colorized-logs 2.7-1
- ubuntu resolute: colorized-logs 2.7-1build1 Β· MIT
- ubuntu stonking: colorized-logs 2.7-1build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms