📚 Collaborative cheatsheets for console commands

Owen Voke 8f9a4b1f5c windows.*: remove locale from page urls 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 8f9a4b1f5c windows.*: remove locale from page urls 4 yıl önce
pages.de bb6f6dbe37 7z, ansible-playbook, ansible-vault, plantuml: add german translation (#4234) 4 yıl önce
pages.es 0f879b6049 git-diff: remove 9th example (#4204) 4 yıl önce
pages.fr 3af7acb623 git-add: fix typos (fr; #4249) 4 yıl önce
pages.hbs fcf1753cdc sha512sum: add hbs translation 5 yıl önce
pages.it 4d8b097fb9 fixing typo in italian vim 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 3823d18d4a nativefier,scc: fix endline 4 yıl önce
pages.pt_PT 94ca638976 multiple pages: use infinitive in command descriptions of pt-PT pages (#4235) 4 yıl önce
pages.ta ad248fb117 ack: fix typo (#4196) 4 yıl önce
pages.zh 716224a6d8 carbon-now: add zh translation (#4318) 4 yıl önce
pages.zh_TW 8ea907530a cat: add Traditional Chinese translation 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 87324c6e54 Client spec: require exiting with non-zero code on missing page (#4246) 4 yıl önce
COMMUNITY-ROLES.md 75b9a1168c Minor formatting fixes 4 yıl önce
CONTRIBUTING.md d715edf785 CONTRIBUTING: Include homepage in example (#4270) 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 b1b2a8b10d Readme: add devhints.io under similar projects (#4349) 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.

  • devhints Rico's cheatsheets are not just focused on the command line and include a plethora of other cheatsheets related to programming.

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.