To solve this problem, Man Pages, short for manual pages, were created. First written in English, it contains tons of in-depth information about different commands. Sometimes, when you’re looking for just basic information on a command, it can also become overwhelming. To solve this issue, TLDR pages was created.
Before going ahead and knowing more about it, don’t forget to check a few more terminal tricks:
- Watch Star Wars in terminal
- Use StackOverflow in terminal
- Get Weather report in terminal
- Access Google through terminal
- Use Wikipedia from command line
- Check Cryptocurrency Prices From Terminal
- Search and download torrent in terminal
What are TLDR pages?
The GitHub page of TLDR pages for Linux/Unix describes it as a collection of simplified and community-driven man pages. It’s an effort to make the experience of using man pages simpler with the help of practical examples. For those who don’t know, TLDR is taken from common internet slang Too Long Didn’t Read.
In case you wish to compare, let’s take the example of tar command. The usual man page extends over 1,000 lines. It’s an archiving utility that’s often combined with a compression method like bzip or gzip. Take a look at its man page:
On the other hand, TLDR pages lets you simply take a glance at the command and see how it works. Tar’s TLDR page simply looks like this and comes with some handy examples of the most common tasks you can complete with this utility:
How to install and use TLDR pages on Linux?
The most mature TLDR client is based on Node.js and you can install it easily using NPM package manager. In case Node and NPM are not available on your system, run the following command:
sudo apt-get install nodejs
sudo apt-get install npm
In case you’re using an OS other than Debian, Ubuntu, or Ubuntu’s derivatives, you can use yum, dnf, or pacman package manager as per your convenience.
Now, by running the following command in terminal, install TLDR client on your Linux machine:
sudo npm install -g tldr
Once you’ve installed this terminal utility, it would be a good idea to update its cache before trying it out. To do so, run the following command:
After doing this, feel free to read the TLDR page of any Linux command. To do so, simply type:
You can also run the following help command to see all different parameters that can be used with TLDR to get the desired output. As usual, this help page is also accompanied with examples.
TLDR web, Android, and iOS versions
You would be pleasantly surprised to know that TLDR pages isn’t limited to your Linux desktop. Instead, it can also be used in your web browser, which can be accessed from any machine.
To use TLDR web version, visit tldr.ostera.io and perform the required search operation.
Did you find this cool Linux terminal trick interesting? Do give it a try and let us know your feedback.
Also Read: The Ultimate A To Z List of Linux Commands