How many shell commands do you know?
And how often do you forget their syntax, only to find yourself googling the same StackOverflow page over and over again?
In this case, my favourite tool is definitely tldr!
tldr is a cheeky acronym meaning Too Long Didn’t Read, commonly used in Internet under every post with more than a dozen of words.
In a nutshell, tldr offers you a concise description about the usage of literally every command, all without ever leaving the terminal! I don’t want to be wordy either, so…
Install
npm install -g tldr
Usage
tldr <command>
Example
1
$ tldr ps
will output something like:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ps
Information about running processes
- List all running processes:
ps aux
- List all running processes including the full command string:
ps auxww
- Search for a process that matches a string:
ps aux | grep
...
Just for the sake of it
tldr tldr