Let’s have a look at tldr in operation. Type tldr followed by the command or program you want to learn more about.
When the program is run for the first time, the software updates the cache and creates an index of all the community pages.
In the image below, we show the information for cp, a command used to copy files or group of files or directories.
As you can see, we’re presented with succinct and pertinent information. Rather than listing every option in alphabetical order as man pages do, the community that maintains the tldr database covers the key options and sorts them with helpful explanatory text with examples.
Sometimes you’ve been browsing the tldr community pages. You can’t remember which specific page you were reviewing but can remember a specific word or phrase. There’s a
--search option which searches through the tldr database and displays matches for the search term. In the example below, we’re searching for any page that contains the word nested.
If you like to find out about new commands and programs, there’s a couple of options that show a random command or a random example.
The software stores a cache of the community pages on your systems. There’s a few commands to maintain the cache, and to list them.
$ tldr -c – clears the cache.
$ tldr -u – updates the local cache.
$ tldr -l – list all commands in the cache.
Complete list of articles in this series:
|tmux||A terminal multiplexer that offers a massive boost to your workflow|
|lnav||Advanced log file viewer for the small-scale; great for troubleshooting|
|Paperwork||Designed to simplify the management of your paperwork|
|Abricotine||Markdown editor with inline preview functionality|
|mdless||Formatted and highlighted view of Markdown files|
|fkill||Kill processes quick and easy|
|Tusk||An unofficial Evernote client with bags of potential|
|Ulauncher||Sublime application launcher|
|McFly||Navigate through your bash shell history|
|LanguageTool||Style and grammar checker for 30+ languages|
|peco||Simple interactive filtering tool that's remarkably useful|
|Liquid Prompt||Adaptive prompt for Bash & Zsh|
|Ananicy||Shell daemon created to manage processes’ IO and CPU priorities|
|cheat.sh||Community driven unified cheat sheet|
|ripgrep||Recursively search directories for a regex pattern|
|exa||A turbo-charged alternative to the venerable ls command|
|OCRmyPDF||Add OCR text layer to scanned PDFs|
|Watson||Track the time spent on projects|
|fontpreview||Quickly search and preview fonts|
|fd||Wonderful alternative to the venerable find|
|scrcpy||Display and control Android devices|
|duf||Disk usage utility with more polished presentation than the classic df|
|tldr||Simplified and community-driven man pages|