Hacker ApprovedDepartments

less

Hacker Approved

Shares rank 10 of 86 privilege escalation tools by recommenders

Terminal pager for reading files and piped command output, with search and filtering; people value its long track record. Critics point to past security vulnerabilities and a large code base.

Terminal pager for reading files and piped command output, with search and filtering; people value its long track record. Critics point to past security vulnerabilities and a large code base.

39 people gave an opinion

recommend it
31
criticize it
8
approval share
79%
Each figure is one person. RecommendsCriticizes

Recommended in 8 of 13 months

  1. November 2025: not recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: not recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: not recommended
  11. September 2026: not recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 31 people recommend itNeeds 10 or more, met.
  • 3.9 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 8 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Pipe any command's output into it

    “I use the piping feature of less to add some interactivity to git-log.”

    Comment from 3 Jan 2026 in “Assorted Less(1) Tips”

    “"| less" and type "/foobar" to jump to all mentions of foobar”

    Comment from 16 Jun 2026 in “SpaceX to buy Cursor AI coding agent operator Anysphere for $60B”

    “`info foo | less` is a better info reader than `info foo`”

    Comment from 20 Feb 2026 in “Notes on Clarifying Man Pages”
  • Long-proven tool for reading output

    “less is a 40-year-old tool that exists precisely to solve this problem efficiently”

    Comment from 12 Feb 2026 in “Claude Code Is Being Dumbed Down”

    “once you get used to it it's better than tail in many circumstances IMO”

    Comment from 2 Jan 2026 in “Assorted Less(1) Tips”

    “It's incredibly handy and I use it all the time at work”

    Comment from 2 Jan 2026 in “Assorted Less(1) Tips”
  • Search and filter within output

    “has a nice "&" command that is like "/" (search) but that filters instead like grep.”

    Comment from 16 Jul 2026 in “Command Line Interface Guidelines”

    “n/N is easier to jump between matches than / , one less keypress.”

    Comment from 20 Feb 2026 in “Notes on Clarifying Man Pages”
  • Powerful and configurable

    “it's super powerful and configurable as I call out in the post”

    Comment from 16 Apr 2026 in “I made a terminal pager”

    “since it does more than more”

    Comment from 18 Mar 2026 in “The Pleasures of Poor Product Design”

What people warn about

Each mark is one comment

  • Security vulnerabilities and large code

    “less having a lot of code (features, bloat) and therefore attack surface”

    Comment from 18 Apr 2026 in “Even "cat readme.txt" is not safe”

    “We also had vulnerabilities in tools such as less”

    Comment from 17 Apr 2026 in “Even "cat readme.txt" is not safe”
  • Quitting loses place or scrollback

    “Sure, I could use less, but then I context switch on exit; no support from the scrollback buffer.”

    Comment from 18 Jul 2026 in “PSA about abuse of cat(1) command. Don't abuse cats”

    “if I were to do it again I’d find something that at least kept my place on program close”

    Comment from 11 Dec 2025 in “If You Quit Social Media, Will You Read More Books?”

    “I hate -E. Quitting immediately does not do good things to my muscle memory.”

    Comment from 2 Jan 2026 in “Assorted Less(1) Tips”
  • Bugs out and slow regex

    “less sometimes bugs out and starts spinning, have to kill it from the outside”

    Comment from 2 Jan 2026 in “Assorted Less(1) Tips”

    “the regex engine is unreasonably slow”

    Comment from 3 Jan 2026 in “Assorted Less(1) Tips”

Other privilege escalation tools people recommend

The four most recommended other privilege escalation tools, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

less compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
fzf78594%12—Approved
jq753369%12—Approved
grep651977%12—Approved
Atuin632472%112 yrs4 ownersApproved
lessThis page31879%8—Approved
See all 86 privilege escalation tools, ranked

What people said

36 of the 39 comments that mention it, newest first. Each links to the original comment.

“but I prefer to use less if I can”

RecommendsComment from 28 Oct 2026 in “Ghostty 1.4”

“behavior by behavior verified pager against less”

RecommendsComment from 25 Jul 2026 in “Show HN: Less-pager-mini: What a cross-platform pager would be like”

“Sure, I could use less, but then I context switch on exit; no support from the scrollback buffer.”

CriticizesComment from 18 Jul 2026 in “PSA about abuse of cat(1) command. Don't abuse cats”

“has a nice "&" command that is like "/" (search) but that filters instead like grep.”

RecommendsComment from 16 Jul 2026 in “Command Line Interface Guidelines”

“"| less" and type "/foobar" to jump to all mentions of foobar”

RecommendsComment from 16 Jun 2026 in “SpaceX to buy Cursor AI coding agent operator Anysphere for $60B”

“used by full screen apps (e.g. vi, less)”

MixedComment from 8 Jun 2026 in “There's no escaping it: an exploration of ANSI codes”

“Not quite as useful as "less"”

RecommendsComment from 18 Apr 2026 in “Even "cat readme.txt" is not safe”

“less having a lot of code (features, bloat) and therefore attack surface”

CriticizesComment from 18 Apr 2026 in “Even "cat readme.txt" is not safe”

“We also had vulnerabilities in tools such as less”

MixedComment from 17 Apr 2026 in “Even "cat readme.txt" is not safe”

“needed a pager with better image support than just less -r”

MixedComment from 16 Apr 2026 in “I made a terminal pager”

“it's super powerful and configurable as I call out in the post”

RecommendsComment from 16 Apr 2026 in “I made a terminal pager”

“less displays the link target in the status line when you use the navigation commands”

MixedComment from 4 Apr 2026 in “Why the heck are we still using Markdown?”

“less highlights all the C0 bytes, in inverse video (which is trivially easy to spot)”

RecommendsComment from 3 Apr 2026 in “Hex editor should color-code bytes”

“since it does more than more”

RecommendsComment from 18 Mar 2026 in “The Pleasures of Poor Product Design”

“some tools that persist using escapes code even when piped to another program (like less)”

MixedComment from 2 Mar 2026 in “Build your own Command Line with ANSI escape codes (2016)”

“`info foo | less` is a better info reader than `info foo`”

RecommendsComment from 20 Feb 2026 in “Notes on Clarifying Man Pages”

“n/N is easier to jump between matches than / , one less keypress.”

RecommendsComment from 20 Feb 2026 in “Notes on Clarifying Man Pages”

“less is a 40-year-old tool that exists precisely to solve this problem efficiently”

RecommendsComment from 12 Feb 2026 in “Claude Code Is Being Dumbed Down”

“You have a tool here, which is noted elsewhere: it's "less --raw".”

RecommendsComment from 6 Feb 2026 in “GitHub Actions Is Slowly Killing Your Engineering Team”

“I believe that the `--redraw-on-quit` behavior is in every way (slightly) better than the `-X` behavior.”

RecommendsComment from 5 Jan 2026 in “Assorted Less(1) Tips”

“I would say it's a bad UX and not just odd.”

CriticizesComment from 3 Jan 2026 in “Assorted Less(1) Tips”

“the regex engine is unreasonably slow”

CriticizesComment from 3 Jan 2026 in “Assorted Less(1) Tips”

“I use the piping feature of less to add some interactivity to git-log.”

RecommendsComment from 3 Jan 2026 in “Assorted Less(1) Tips”

“That was great for saving snippets of news or emails.”

RecommendsComment from 3 Jan 2026 in “Assorted Less(1) Tips”

“I also like to bind N to next-file.”

RecommendsComment from 3 Jan 2026 in “Assorted Less(1) Tips”

“I think the feature is neat, a clever use of an existing feature, I never use it.”

MixedComment from 3 Jan 2026 in “Assorted Less(1) Tips”

“It was a great way to get "down in the weeds" and really explore the code.”

RecommendsComment from 3 Jan 2026 in “Assorted Less(1) Tips”

“It's incredibly handy and I use it all the time at work”

RecommendsComment from 2 Jan 2026 in “Assorted Less(1) Tips”

“-FX does not quit if the output is larger and you jump to the end of a large file”

RecommendsComment from 2 Jan 2026 in “Assorted Less(1) Tips”

“is sent to all processes in a pipeline, so it stops less from following and it stops the other process entirely”

CriticizesComment from 2 Jan 2026 in “Assorted Less(1) Tips”

“I hate -E. Quitting immediately does not do good things to my muscle memory.”

CriticizesComment from 2 Jan 2026 in “Assorted Less(1) Tips”

“less sometimes bugs out and starts spinning, have to kill it from the outside”

CriticizesComment from 2 Jan 2026 in “Assorted Less(1) Tips”

“Two things that have helped me a lot of times”

RecommendsComment from 2 Jan 2026 in “Assorted Less(1) Tips”

“once you get used to it it's better than tail in many circumstances IMO”

RecommendsComment from 2 Jan 2026 in “Assorted Less(1) Tips”

“they've saved me on removing noise from logfiles from time to time”

MixedComment from 2 Jan 2026 in “Assorted Less(1) Tips”

“if I were to do it again I’d find something that at least kept my place on program close”

MixedComment from 11 Dec 2025 in “If You Quit Social Media, Will You Read More Books?”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.