I do not quite agree with that, it is not man pages, or a substitute for them.
It IS IMO a compliment, and a good addition to them.
The command
tldr <command>
when run outputs a short description, and a few examples of the most common uses of that command.Here an example using apt;
Code: Select all
rick@t420:~$ tldr apt
apt
Package management utility for Debian based distributions.Recommended replacement for apt-get when used interactively in Ubuntu versions 16.04 and later.For equivalent commands in other package managers, see https://wiki.archlinux.org/title/Pacman/Rosetta.More information: https://manpages.debian.org/latest/apt/apt.8.html.
- Update the list of available packages and versions (it's recommended to run this before other apt commands):
sudo apt update
- Search for a given package:
apt search {{package}}
- Show information for a package:
apt show {{package}}
- Install a package, or update it to the latest available version:
sudo apt install {{package}}
- Remove a package (using purge instead also removes its configuration files):
sudo apt remove {{package}}
- Upgrade all installed packages to their newest available versions:
sudo apt upgrade
- List all packages:
apt list
- List installed packages:
apt list --installed
Code: Select all
apt update
Code: Select all
apt install tldr
Code: Select all
tldr -u