📚 Collaborative cheatsheets for console commands

Zhe-An Li 78f157e84d mkdir, rmdir, touch, rm: fix typo (zh_TW) (#4206) 4 yıl önce
.github ee665051b3 Update to use `actions/stale` instead of Stale Bot (#4143) 4 yıl önce
contributing-guides 2126dfec04 Update references to Travis in docs 4 yıl önce
images 524d44eb13 Update project motto and improve README 4 yıl önce
pages 2e9c71731b curl: explain -d example (#4183) 4 yıl önce
pages.de 208327d21a Update pages.de/common/rev.md 4 yıl önce
pages.es 053329ad3b git-add: add Spanish translation of an example 5 yıl önce
pages.fr afa6de831f git-push: fix typo (#4112) 4 yıl önce
pages.hbs fcf1753cdc sha512sum: add hbs translation 5 yıl önce
pages.it e015180320 date: fix typo (#4069) 4 yıl önce
pages.ja f66048460d tldr: add japanese translation (#3774) 5 yıl önce
pages.ko ad248fb117 ack: fix typo (#4196) 4 yıl önce
pages.pl 3ad716b951 Fix polish grammar in atom (#4109) 4 yıl önce
pages.pt_BR 07d9868389 i3lock: add page (EN/pt_BR) (#4146) 4 yıl önce
pages.pt_PT d27b75844f Update pages.pt_PT/linux/gedit.md 5 yıl önce
pages.ta ad248fb117 ack: fix typo (#4196) 4 yıl önce
pages.zh 33ee5d40d1 dos2unix, mac2unix, unix2dos, unix2mac: add Chinese translations (#4168) 4 yıl önce
pages.zh_TW 78f157e84d mkdir, rmdir, touch, rm: fix typo (zh_TW) (#4206) 4 yıl önce
scripts 68f8e470d1 Fix PULL_REQUEST_ID reference when not set 4 yıl önce
.editorconfig 73dbf11901 Trim .editorconfig (#3678) 5 yıl önce
.gitignore 37634b36f7 Harmonize project name (lowercase tldr, no semicolon, hyphen-separated) 4 yıl önce
.markdownlintrc aa34bdd68b markdownlint: increase maximum line length to 250 5 yıl önce
CLIENT-SPECIFICATION.md 75b9a1168c Minor formatting fixes 4 yıl önce
COMMUNITY-ROLES.md 75b9a1168c Minor formatting fixes 4 yıl önce
CONTRIBUTING.md b925b8366c Tweak badge colors in README.md and CONTRIBUTING.md (#4110) 4 yıl önce
GOVERNANCE.md a35641b4ac GOVERNANCE.md: link to the maintainer's guide 6 yıl önce
LICENSE.md 75b9a1168c Minor formatting fixes 4 yıl önce
MAINTAINERS.md 7a79fa6e21 Update @owenvoke username reference (#4123) 4 yıl önce
README.md 2126dfec04 Update references to Travis in docs 4 yıl önce
package-lock.json 9437f6382d build(deps): bump minimist from 1.2.0 to 1.2.5 (#3921) 5 yıl önce
package.json 37634b36f7 Harmonize project name (lowercase tldr, no semicolon, hyphen-separated) 4 yıl önce

README.md

tldr-pages

[![Build status][github-actions-image]][github-actions-url] [![Gitter chat][gitter-image]][gitter-url] [![Merged PRs][prs-merged-image]][prs-merged-url] [![GitHub contributors][contributors-image]][contributors-url] [![license][license-image]][license-url]

What is tldr-pages?

The tldr-pages project is a collection of community-maintained help pages for command-line tools, that aims to be a simpler, more approachable complement to traditional man pages.

Maybe you are new to the command-line world? Or just a little rusty? Or perhaps you can't always remember the arguments to lsof, or tar?

It certainly doesn't help that the first option explained in man tar is:

-b blocksize
   Specify the block size, in 512-byte records, for tape drive I/O.
   As a rule, this argument is only needed when reading from or writing to tape drives,
   and usually not even then as the default block size of 20 records (10240 bytes) is very common.

There seems to be room for simpler help pages, focused on practical examples. How about:

screenshot of the tldr-node-client displaying the tldr page for the tar command

This repository is just that: an ever-growing collection of examples for the most common UNIX, Linux, macOS, SunOS and Windows command-line tools.

How do I use it?

A popular and convenient way to access these pages on your computer is to install the Node.js client, which is supported by the tldr-pages project maintainers:

npm install -g tldr

That way you can write tldr tar in the terminal to show the tldr page for tar, just like you would write man tar to show its manpage.

There are also various other clients provided by the community, both for the command line and for other platforms:

There is also a comprehensive list of clients in our Wiki.

How do I contribute?

  • Your favourite command isn't covered?
  • You can think of more examples for an existing command?

All tldr pages are kept as markdown files right here in this repository, so you can edit them directly and submit your changes as pull requests.

All contributions are welcome! We strive to maintain a welcoming and collaborative community. Have a look at the contributing guidelines, and go ahead!

Similar projects

  • Cheat allows you to create and view interactive cheatsheets on the command-line. It was designed to help remind *nix system administrators of options for commands that they use frequently, but not frequently enough to remember.

  • Bro pages are a highly readable supplement to man pages. Bro pages show concise, common-case examples for Unix commands. The examples are submitted by the user base, and can be voted up or down; the best entries are what people see first when they look up a command.

  • eg provides detailed examples with explanations on the command line. Examples come from the repository, but eg supports displaying custom examples and commands alongside the defaults.

What does "tldr" mean?

TL;DR stands for "Too Long; Didn't Read". It originates in Internet slang, where it is used to indicate that a long text (or parts of it) has been skipped as too lengthy. Read more in Wikipedia's TL;DR article.