TL;DR
Too Long; Didn’t Read - or as an acronym: TL;DR. It’s also very useful cli application. A collection of simplified and community-driven man pages - When I saw this I knew I have to set it up on all my machines immediately.
Finally, after years, I am able to extract the archive on Linux without checking Google first, instead, I tldr it.
$ tldr tar
tar
Archiving utility.
Often combined with a compression method, such as gzip or bzip.
- Create an archive from files:
tar cf target.tar file1 file2 file3
- Create a gzipped archive:
tar czf target.tar.gz file1 file2 file3
- Extract an archive in a target folder:
tar xf source.tar -C folder
Installing tldr
If you are node user, you can install it with single command npm install -g tldr. You can also use the implementation in
other languages, check the official repo for other clients.
The second option is to use docker container. This also prevents the app to read anything from your filesystem.
$ docker run -it --rm mhlavac/tldr-docker tldr tar
You can also disable network for extra security --network=none.
Setting up docker alias
To make tldr more accessible via docker, set it up as an alias in your rc file.
alias tldr='docker run -it --rm mhlavac/tldr-docker tldr'
To run tldr after setting up the alias:
$ tldr tar
I hope you enjoy tldr as much as I do.