Too Long; Didn't Read - or as 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 archive on Linux without checking Google first, instead I tldr it.

$ tldr 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 implementation in other languages, check the official repo for other clients.

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.

Tags: linux, software

Martin Hlavac

Hello! I'm Martin Hlavac,
full stack software engineer @ Berlin!

Contact Martin via email
+49 173 637 2616
+420 608 904 128 Twitter LinkedIn Github

Freelancing, developing web apps and APIs. PHP, Javascript and docker is my favorite dev stack.

Open source allows me to move fast and reuse work of thousands other developers, designers and security experts.

Agile & lean is my working flow. Constant, fast iterations. Improving feedback loop is the top priority.