Get a Summarized version of man pages


Borislav Hadzhiev

Last updated: Dec 27, 2020


Check out my new book

I rarely use the man pages because it's way quicker to google for the syntax of a command or for a specific flag than go through a large volume of information that you most likely don't need

However I found a package that summarizes the output of the man pages and offers a simpler alternative - tldr

In order to use it all you have to do is install it via npm:

npm install -g tldr

Then in your command line type tldr <command>:

tldr ls

The output shows ls - List directory contents. and the most commonly used flags with the ls command and their purpose, i.e.:

- List files one per line: ls -1 - List all files, including hidden files: ls -a - List all files, with trailing / added to directory names: ls -F ...etc

This saves me a lot of time having to parse through the verbose man pages.

I wrote a book in which I share everything I know about how to become a better, more efficient programmer.
book cover
You can use the search field on my Home Page to filter through all of my articles.