• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Justin Joyce

Practical tips and tutorials about software development.

  • Standing Invitation
  • Featured Posts
  • Latest
  • About

Command line manual pages and tldr

Posted Jan 20, 2023 โ€” Updated Jan 10, 2024

When looking into command line … commands, you’ve probably seen the man command, which is short for manual. For instance, if I want to know all about the ls command I can run man ls, which returns this on my mac:

terminal output of "man ls"
partial output of man ls

That’s a lot of info, and the screenshot above just the tip of the iceberg; there are over 1000 lines on that page. If you want to dive deep, that’s great, but I usually need < 1% of that. That’s where tldr comes in.

Tldr as a man page replacement

Tldr works exactly how its name suggests; it gives you the tldr you care about. Here’s what happens when I run tldr ls instead of the man command above:

output of "tldr ls"
output of tldr ls

That’s the entire output, and it covers every common use case. In fact, I don’t think I ever use an ls option that isn’t covered by some combination of the flags above. Tldr is also an actively-maintained open source project; it was last updated the day before I wrote this post. It’ll even let you know if your local install is getting stale:

tldr notification telling us to update
tldr telling me it’s time to update

Shoutout to my teammate Jeff who showed this to me; it’s great. I’d recommend it to anyone.


Helpful Links

  • tldr.sh project page
  • tldr on github

Filed Under: Command Line, Tips, Tools

Primary Sidebar

Recent Posts

  • Every Built-In Vim Color Scheme (with screenshots)
  • Reverse a string in Python
  • Meeting Cost Calculator
  • Vim find and replace
  • What makes an effective development team

Categories

  • Arrays (5)
  • Command Line (9)
  • Dates (3)
  • Featured (7)
  • Git (7)
  • Golang (5)
  • Javascript (8)
  • Productivity (8)
  • Projects (4)
  • Python (15)
  • Regex (2)
  • Ruby (3)
  • Shell (2)
  • Thoughts (2)
  • Tips (11)
  • Tools (3)
  • Tutorials (1)
  • Vim (4)

Archives

  • July 2024 (1)
  • February 2024 (1)
  • January 2024 (1)
  • December 2023 (1)
  • November 2023 (1)
  • October 2023 (4)
  • September 2023 (1)
  • August 2023 (2)
  • July 2023 (5)
  • June 2023 (3)
  • May 2023 (6)
  • April 2023 (5)
  • March 2023 (5)
  • February 2023 (10)
  • January 2023 (6)
  • December 2022 (7)

Copyright © 2025 ยท Contact me at justin [at] {this domain}

  • Privacy Policy