Commit Graph

1035 Commits (6f72422422e3e3b45027dddc975913d5c1eb4e78)

Author SHA1 Message Date
Waldir Pimenta 0f16059d3a bash: quote command passed with -c 2016-09-04 20:59:10 +01:00
Agniva De Sarker cebed99cb1 Merge pull request #1029 from ericbn/git-stash
git-stash: Make examples clearer
2016-09-03 12:33:11 +05:30
Eric Nielsen 2aca1c08b8 git-stash: Further improve verbosity of examples 2016-09-02 07:33:17 -05:00
Waldir Pimenta 76783fdc72 zip: minor change to fix build
See #1018 and https://github.com/tldr-pages/tldr-lint/pull/6
2016-09-01 21:39:16 +01:00
Eric Nielsen 480255d595 git-stash: Improved examples verbosity 2016-09-01 13:01:07 -05:00
Waldir Pimenta be0fbaec97 zip: improve page (#1030)
- reorganize examples for a more logical progression
- make descriptions clearer and more in line with the option names they describe (c.f. #782 and #1018)
2016-09-01 16:41:00 +01:00
zhangda7 34aec29c08 ngrep: add page (#930)
* ngrep: add page

* ngrep: update command

* ngrep: update syntax
2016-09-01 20:50:09 +05:30
Waldir Pimenta 9ecfc2bd9d bash: add --version 2016-09-01 14:31:38 +01:00
Eric Nielsen e0d884efeb curl: Add more download and rewrite data examples (#1023)
- Download: first example introduces `-o`, second one introduces `-O`,
  third example introduces `-L` and `-C` using brackets as per #1018
- Data: first example introduces `-d` (default method is POST and
  default Content-Type is application/x-www-form-urlencoded), second
  example introduces `-X` and `-H`
- Remove "Head request"
- Expand description of "Send form-encoded data" example
2016-08-31 19:33:33 +01:00
Eric Nielsen 1c0471fc23 wget: Use same example description as for curl (#1026)
- Use same description for the "Download a URL to a file" example as for curl (see #1019 and #1023)
- Also fix example formatting

* wget: Use "contents" instead of "output" of an URL
2016-08-31 00:27:02 +01:00
Eric Nielsen 57fd36ec38 git-stash: Make examples clearer
- Difference between a stash name and a stash message was not clear. For
  example, you cannot do:

      $ git stash save foo
      $ git stash apply foo
      fatal: ambiguous argument 'foo': unknown revision or path not in
      the working tree.

- Difference between stash `apply` and `pop` was not clear
- Make it clearer that all `apply`, `pop` and `drop` can take an
  optional stash name, and that the default name is `stash@{0}`
2016-08-30 17:57:40 -05:00
Eric Nielsen c8e3e44905 chmod: Use brackets instead of parenthesis (#1024)
To specify with single-letter parameter is being referenced (as per #1018)
2016-08-30 17:47:11 +01:00
Waldir Pimenta 95d348665b inkscape: slight improvement to last example desc 2016-08-29 17:25:40 +01:00
Waldir Pimenta 1fd16aa105 inkscape: fix typo (double equal signs) 2016-08-29 17:24:11 +01:00
Rahul Kavale bf955d43e6 grep: add flags for lines before and after the match (#1020) 2016-08-29 00:43:14 +01:00
Waldir Pimenta 71ee99ef6f Merge pull request #990 from tldr-pages/expand-tree.md
tree.md: add more useful examples
2016-08-27 09:48:49 +01:00
michaelAndersonCampingWorld 35635d7afb apg: add page (#1013)
* add page with examples for apg (advanced password generator)
* edits per code review
* spread the examples across more options than just -m and -M
* expand abbreviations and add double curly brackets
2016-08-26 12:07:09 +01:00
Agniva De Sarker 4d19e2f249 mongodump: add page (#1017) 2016-08-26 12:01:49 +01:00
Agniva De Sarker 996dd4074f cd: Removing leading slash according to convention 2016-08-25 22:56:19 +05:30
Waldir Pimenta 31a07858ca split tree.md into linux and osx versions, to cater to the different sets of available options 2016-08-24 18:43:14 +01:00
Waldir Pimenta 268af0f8a9 tree: use "levels" in the -L example description
for improved mnemonics :)
2016-08-24 17:00:32 +01:00
Waldir Pimenta 85dcf3eef6 tree.md: add more useful examples
and reorder entries by increasing complexity
2016-08-24 17:00:31 +01:00
Waldir Pimenta 96289e570d git-branch.md: various fixes (no content change)
- changed token syntax to match project guidelines
- added tokens to the rename example
- moved rename example to before the delete example
- reword some descriptions for clarity
- include "git" in the command description
2016-08-24 16:58:53 +01:00
Waldir Pimenta a07b6f9e1e scrapy.md: lowercase "framework" 2016-08-23 13:17:29 +01:00
Bernardas Ališauskas 9f5d5b571f add page for scrapy from scrapy.org (#939) 2016-08-23 13:15:37 +01:00
Zachariah Kendall 6e25c3cfb9 traceroute: Add example of specifying datagram size (#999) 2016-08-21 20:07:22 +01:00
Leandro Ostera 2ba4397edc Updates vim and vimtutor pages (#926)
* Updates vim and vimtutor pages

* Easy peasy.

* Use <Enter> instead of <Cr>

* Show help command.

We might not be able to help you move around
but the interactive help provided by vim is
pretty good, so helping people find it might
be a good idea.

* Reorder commands and lowercase help
2016-08-21 16:00:09 +02:00
Waldir Pimenta e3553ac6f8 kill.md: change signal explanation (closes #616) (#998)
* add kill signal

* 修改kill相关信号的注释

* kill.md: improve descriptions and formatting

* kill.md: move dashes to outside the tokens
2016-08-21 15:36:24 +02:00
Pelle Jacobs 3babe7cebc Create fswatch.md (#1005)
* Create fswatch.md

* Update fswatch.md

* Update fswatch.md

* Update fswatch.md

* Update fswatch.md

* Update fswatch.md

* Update fswatch.md

* Update fswatch.md

* Update fswatch.md
2016-08-21 13:03:49 +02:00
Agniva De Sarker e42a45fba9 7z*.md: Modify tokens (#1009) 2016-08-18 10:50:36 +01:00
Waldir Pimenta 6abfb1f252 Merge pull request #788 from oxguy3/patch-1
Added missing p7zip tools (7z and 7zr)
2016-08-18 10:36:16 +01:00
George D. Plymale II dff8f92cf0 dig.md: add reverse DNS lookup example (#1003)
Doing a reverse DNS lookup by typing out the IP address in reverse, plus adding .in-addr.arpa to the end is tedious, but fortunately dig has the -x option which makes that process much simpler as one can just feed it a normal IP address.
2016-08-13 05:01:26 +01:00
Waldir Pimenta 3061f6ca65 wait.md: rephrase for clarity 2016-08-09 10:58:49 +01:00
周丰 7da70b4f31 pyenv: add page (#995) 2016-08-09 08:38:21 +01:00
Waldir Pimenta 4a3cb444e4 psql.md: minor rephrasing 2016-08-08 08:48:21 +01:00
Agniva De Sarker 5f43335dc6 psql: Improve page (#982)
* psql: Improve page

- Removed * , this was causing problems with rendering. The node client was
gobbling up the entire word !
- Changed 'query' to 'command' as it can be a postgres db command too.
- Used the -f flag for running multiple commands as its a better and scalable
option.

* Addressing comments

* Replacing against with on

- Mentioning the default user
2016-08-08 10:11:27 +03:00
Daniel Campoverde f6a41ecee9 avrdude: add page (#989) 2016-08-08 10:10:06 +03:00
Waldir Pimenta a1ceb9d1b6 sed.md: add input to the only example missing it (#992)
* sed.md: add input to the only example missing it

* osx/sed.md: add input to the example missing it
2016-08-08 10:09:34 +03:00
Waldir Pimenta c424e4969b rm: various tweaks for clarity; add -v (#988)
* rm: various tweaks for clarity; add -v

changed some descriptions and tokens to make the meaning of each command clearer, and facilitate memorization of the flags
added the -v (verbose) option

* use a more intuitive pattern for the -i option
2016-08-08 10:08:40 +03:00
Agniva De Sarker 0d2e70625e mongo: Add page (#994)
* mongo: Add page

* Addressing comments
2016-08-08 10:04:25 +03:00
Waldir Pimenta 4732cbbc93 vim.md: apply fix per code review comments 2016-08-06 14:34:25 +01:00
Waldir Pimenta 1f0970401f vim.md: apply formatting conventions 2016-08-06 14:29:34 +01:00
shoeletz abcdb8dee2 reduced repetetiveness of descriptions 2016-08-06 14:28:12 +01:00
shoeletz 5adbb1fa34 Update vim.md 2016-08-06 14:25:00 +01:00
shoeletz 314a240945 vim: add :w, :wq, i 2016-08-06 14:24:14 +01:00
Alex Plescan 9ae27f3ea2 vim: fix typo 2016-08-02 10:56:07 +10:00
Agniva De Sarker aab738a152 meteor: add page (#971)
* meteor: add page

* Addressing comments

- Replacing 'your' with 'the'
2016-07-27 22:11:46 +02:00
Rob Young 44527a82a8 Adds command to show SSH key fingerprint (#935)
Adds an ssh-keygen command to show the fingerprint of an SSH key in the
same format that is used by Github to list SSH keys that it knows about.
2016-07-26 16:16:42 +02:00
Gustavo Moraes 1e960c2003 Improvement in "Git" page (command description) (#973) 2016-07-24 14:15:31 +02:00
Agniva De Sarker 3da76e4150 Applying the snake_case convention throughout the repo (#967)
* Applying the snake_case convention throughout the repo

- Also removing the file extension where not needed
- Adding {{ }} on a few old pages

* Addressing concerns

- Added {{ }} where they were missed out
- Removed spaces inside {{ }}
- Reverting "file" to "filename" to make it clearer

* Fixing the comments on nc page
2016-07-22 22:24:06 +02:00
Felix Yan 1a40b65b77 Merge pull request #966 from AgamAgarwal/useless-cat
Removed useless use of cat
2016-07-22 04:44:49 -05:00
Agam Agarwal 3250be5beb Removed useless use of cat 2016-07-22 11:21:32 +05:30
Agniva De Sarker 47dc50bd02 Applying the multiple file extension convention (#965)
- Xref- https://github.com/tldr-pages/tldr/issues/478
2016-07-21 23:46:44 +02:00
Agam Agarwal 87540fec49 echo: added -n, -e examples (#963) 2016-07-21 14:52:49 +01:00
Waldir Pimenta 54a666316e rename.md: add -f flag (#960)
* rename.md: add note about -f flag

* rename.md: add -f example
2016-07-20 07:47:32 +02:00
Waldir Pimenta 5655f1c1f5 tree.md: add clarification to -L option (#959) 2016-07-19 13:39:18 +02:00
Waldir Pimenta 6a988e9325 awk: introduce $NF (#956)
Numbered field references have been used in the first two examples,
so it's quite reasonable to take the opportunity to introduce a new (and quite useful!) concept.

In addition, this commit makes a few tweaks to the example descriptions, to make them clearer.
2016-07-16 14:30:28 +02:00
Alfred Bez 8336898ea9 sort uniq first (#954)
'uniq' does not detect repeated lines unless they are adjacent, so we need to sort them
2016-07-15 13:18:37 +02:00
Ricardo Corrie 30c40feaa1 w3m: add page (#949) 2016-07-14 17:00:28 +01:00
Lampros Mountrakis d8a221ef26 git-remote: use straight quotation marks instead of curly ones (#951)
this was the only command page that used non-ASCII characters
2016-07-14 08:18:38 +01:00
Agniva De Sarker fa8b2d8f92 Apply the 'path/to/item' convention uniformly (#947) 2016-07-13 09:53:22 +01:00
Waldir Pimenta fff4a4c95e add ed.md (#944)
* add ed.md

inspired by this very nice introductory blog post:
https://sanctum.geek.nz/arabesque/actually-using-ed/

* ed.md: fix linting
2016-07-10 11:59:29 +02:00
Waldir Pimenta fd5fb3562d uniq: add sorting example (#945)
This involves another command, but it's such a natural extension of uniq's `-c` functionality that I feel it's warranted to show here.

We should probably add a sort to the -c example too, because uniq only deals with *sequential* line repetitions.
2016-07-10 11:26:13 +02:00
Agniva De Sarker f080073fad webpack: add page (#940) 2016-07-08 10:40:36 +01:00
thalesmello 0579b0993c Fix extended regular expressions
By default, grep already uses regular expressions when searching.

The example `grep -e {{^regex$}} {{path/to/file}}` is the same as `grep {{^regex$}} {{path/to/file}}`.

However, because of the comment about extended regular expressions, I mistakenly assumed `-e` was the option to enable it.

I believe most people would refer to `tldr` in this use case looking for the `-E` extended regular expressions.

With this in mind, I believe that example would be better rephrased as this pull request makes it.
2016-07-04 17:40:04 -03:00
Waldir Pimenta 384557eb15 Create git-imerge.md (#934) 2016-06-28 11:57:32 +01:00
Waldir Pimenta 747259fd62 fix format 2016-06-25 09:44:23 +01:00
Waldir Pimenta b38c300b91 fix format 2016-06-25 09:42:42 +01:00
Waldir Pimenta 49771b150e add quota.md (fixes #832) 2016-06-25 01:17:37 +01:00
Waldir Pimenta 385a89558e grep: simplify -l example to match the others 2016-06-24 10:39:17 +01:00
Waldir Pimenta a2b596861d grep.md: "something" → "search_string"; -r → -rI 2016-06-23 18:50:38 +01:00
Dylan Rees d1b3b357e8 Create fsck.md (#924) 2016-06-23 18:41:44 +01:00
Ayakashi 777305c630 grep.md: add -l example (#913) 2016-06-21 08:11:27 +01:00
Waldir Pimenta 698eacdb44 minor tweaks to gunzip.md, for improved clarity (#919) 2016-06-21 08:09:40 +01:00
Waldir Pimenta 2e95ede479 screen.md: fix typo 2016-06-21 00:07:51 +01:00
Beshr Al Nahas 7870c6c4c7 screen: Start a new deamon and log the output (#912) 2016-06-21 00:06:49 +01:00
Te-Chi Liu 6dd36ada23 bg: add page (#911) 2016-06-21 00:05:30 +01:00
Agniva De Sarker 7f168f6144 gunzip: add page (#909) 2016-06-21 00:00:19 +01:00
Rob Young b78dd40547 Add examples for exporting GPG keys (#907)
This chage adds examples for exporting public and private GPG keys.

This is particularly useful for backing up keys. In both cases they have
been output as ASCII armored text with the `--armor` flag to make the
output easier to work with.
2016-06-20 23:58:28 +01:00
Dylan Rees 40223d8eef Create sendmail.md (#906) 2016-06-20 23:56:54 +01:00
Hugo 938286334c Create subliminal.md (#905)
https://subliminal.readthedocs.io/en/latest/user/cli.html
2016-06-20 23:55:22 +01:00
Waldir Pimenta a84285affc Merge pull request #891 from tldr-pages/xargs 2016-06-20 23:44:58 +01:00
张峥 b4dea673c7 id: add page (#847) 2016-06-20 23:28:25 +01:00
Frank 6bdd183e86 git-diff: create a patch file 2016-06-17 13:08:01 +02:00
ayakashi c64932099b Update nc.md 2016-06-13 11:54:36 +08:00
Leandro Ostera b1e11b2798 Merge pull request #900 from jcalebj/create_wait
wait: add page
2016-06-05 18:03:15 +02:00
Andreas Gerler 4d8497271f
ssh-keygen: change passphrase for ssh-key
- add info for changing password of an existing ssh-key

Signed-off-by: Andreas Gerler <baron@bundesbrandschatzamt.de>
2016-06-01 09:15:10 +00:00
jefferycjones 47f0f839b3 wait: add page 2016-05-23 15:46:41 -04:00
Leandro Ostera 169f5174eb Merge pull request #897 from liuderchi/gcc
gcc: add -c option
2016-05-22 15:31:41 +02:00
Leandro Ostera ee752c401e Merge pull request #890 from onesuper/odps-auth
odps-auth: add desc role
2016-05-22 15:31:15 +02:00
liuderchi fc32c063cf gcc: add -c option 2016-05-21 22:55:03 +08:00
Walter O'Keefe 084986a76b passwd: Fix typo (#894) 2016-05-18 09:32:06 +01:00
Daniel Senff d2de67f45b Update screen.md (#862)
session name is also the session id, so have the same wording
2016-05-17 10:56:39 +01:00
Felix Yan 23dec7ebd8 Merge pull request #889 from Larry850806/patch-1
Update wget.md
2016-05-17 03:28:59 -05:00
Larry850806 df82496c6c Update wget.md 2016-05-17 13:28:13 +08:00
Waldir Pimenta 5667133d6a xargs: move specific example, per discussion in #891 2016-05-16 13:47:00 +01:00
Cheng Yichao e671e85cdc odps-table: typo 2016-05-16 17:18:34 +08:00
程亦超(何兮) b75e25a7fb odps-auth: reorder commands
Change-Id: I58c9b5451853171cd5d084877576f606068d1984
2016-05-16 15:17:01 +08:00
Felix Yan d306eeb2da Merge pull request #886 from onesuper/odps-inst-tldr
odps-inst: add page
2016-05-16 01:59:03 -05:00
Waldir Pimenta f26d5164ae xargs: add example as discussed in #878
Also moved the concrete example to the end.
2016-05-16 07:51:34 +01:00