New Discovery, tldr command, "simplified man pages"

Chat about Linux in general
Forum rules
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 6 months after creation.
Post Reply
rickNS
Level 9
Level 9
Posts: 2981
Joined: Tue Jan 25, 2011 11:59 pm

New Discovery, tldr command, "simplified man pages"

Post by rickNS »

Described as "Read man pages in simple format" or similar on a couple of websites.
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
If interested, can be found in the software manager, or installed via command;

Code: Select all

apt update

Code: Select all

apt install tldr
Then update tldr database,

Code: Select all

tldr -u
Mint 20.0, and 21.0 MATE on Thinkpads, 3 X T420, T450, T470, and X200
mikeflan
Level 17
Level 17
Posts: 7162
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: New Discovery, tldr command, "simplified man pages"

Post by mikeflan »

Yeah, that is a good one. I put this in /home/mike/.bashrc:

Code: Select all

alias mane='/home/mike/.local/bin/tldr'
mane stands for man example.
User avatar
spamegg
Level 14
Level 14
Posts: 5117
Joined: Mon Oct 28, 2019 2:34 am
Contact:

Re: New Discovery, tldr command, "simplified man pages"

Post by spamegg »

New discovery
Welcome to the club! It's nice here :lol: Been using tldr for a few years.
rickNS
Level 9
Level 9
Posts: 2981
Joined: Tue Jan 25, 2011 11:59 pm

Re: New Discovery, tldr command, "simplified man pages"

Post by rickNS »

spamegg wrote: Thu Mar 14, 2024 5:52 am
Welcome to the club! It's nice here :lol: Been using tldr for a few years.
I just discovered it, "stumbled across it" actually just the other day.
BECAUSE, I never seen it on a list of Linux commands, this probably the most complete one I've seen https://ss64.com/bash/

This (or that ?) is one of the things I really like about Linux, there is so much, there is always something new to discover / learn...what fun !
Mint 20.0, and 21.0 MATE on Thinkpads, 3 X T420, T450, T470, and X200
User avatar
spamegg
Level 14
Level 14
Posts: 5117
Joined: Mon Oct 28, 2019 2:34 am
Contact:

Re: New Discovery, tldr command, "simplified man pages"

Post by spamegg »

I just discovered it, "stumbled across it" actually just the other day.
It helps to browse Github.
It gives recommendations for repositories.
I discovered so much Terminal stuff there.
tldr, ripgrep, colorls, oh-my-zsh, powerlevel10k, bat, kitty, mcfly, ble.sh, fzf, ...

There is a lot of good stuff right here: https://github.com/ibraheemdev/modern-unix
rickNS
Level 9
Level 9
Posts: 2981
Joined: Tue Jan 25, 2011 11:59 pm

Re: New Discovery, tldr command, "simplified man pages"

Post by rickNS »

spamegg wrote: Fri Mar 15, 2024 8:40 am
It helps to browse Github.
It gives recommendations for repositories.
I discovered so much Terminal stuff there.
tldr, ripgrep, colorls, oh-my-zsh, powerlevel10k, bat, kitty, mcfly, ble.sh, fzf, ...

There is a lot of good stuff right here: https://github.com/ibraheemdev/modern-unix
THANKS !
There is some "good stuff" there.
I'm playing with the "new" "find" command...listed there as fd, but now called fdfind

Described as "A simple, fast and user-friendly alternative to find"
Mint 20.0, and 21.0 MATE on Thinkpads, 3 X T420, T450, T470, and X200
Post Reply

Return to “Chat about Linux”