Commit Graph

1364 Commits (386a66cc9d130ca4af845c5a3cfaa02f2cc781d9)

Author SHA1 Message Date
pdey 01759dcb9e mongorestore: add page (#1037) 2016-09-05 21:52:20 +01:00
Eric Nielsen 13fea84d7e less, more: Update page up/down shortcut (#1038)
- Previous shortcut (`D`/`d`) refers to scrolling half of a page, not a full page
2016-09-05 18:27:12 +01:00
Waldir Pimenta d4cbe1ab9c Merge pull request #1031 from tldr-pages/bash-version
bash: add --version
bash: quote command passed with -c
2016-09-04 21:21:00 +01:00
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 6a9f7e74ca Merge pull request #1021 from tldr-pages/ufw 2016-09-01 22:11:14 +01: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
Agniva De Sarker f08c58079b Changing "Remove" to "Delete" 2016-09-01 22:51:56 +05:30
Agniva De Sarker 964f07132b Reordering the syntax to match with the description 2016-09-01 22:51:56 +05:30
Agniva De Sarker 7506047a39 ufw: Improve page 2016-09-01 22:51:46 +05:30
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 0ad07e4f2d pwgen: make option names more intuitive (#1014) 2016-08-24 11:29:33 +02: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
Kyle Sweeney 111d8aae0f strace.md: Added option to start an executable (#979)
* updated strace.md with starting a program

* fixed errors, and followed same `` guide

* removed extraneous space
2016-08-22 13:59:39 +02:00
Agniva De Sarker 29b0d77e29 Merge pull request #1007 from tldr-pages/pod
osx/pod.md: add page
2016-08-22 09:44:17 +05:30
Zlatan Vasović 63a7e2744e Add `apt-get autoremove` (#1011) 2016-08-22 00:01:13 +02: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
Waldir Pimenta 04f25d3684 xcodebuild.md: add page (#1008)
* Create xcodebuild.md

xcodebuild

* xcodebuild.md: shorten page

* xcodebuild.md: use token formatting

* xcodebuild.md: remove xcrun command

* xcodebuild.md: fix linting and reword some descriptions

* xcodebuild: change tokens to match the guidelines

* xcodebuild: remove unclear part the first example's description
2016-08-21 12:59:23 +02:00
Waldir Pimenta 948bea2207 pod.md: improve example descriptions 2016-08-18 12:19:54 +01:00
Waldir Pimenta 9a3906ecbb pod.md: remove incorrect example and add 'pod list' instead 2016-08-18 12:19:25 +01: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
Waldir Pimenta 2f6388423b expand pod.md page as discussed in #583 2016-08-17 19:42:19 +01:00
SimMan dcf58acecd Rename pod to pod.md 2016-08-17 19:31:41 +01:00
SimMan da7a23fe3c Create pod
CocoaPods
2016-08-17 19:31:41 +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
Waldir Pimenta 8127104cce osx/locate.md: add exact filename match (#993)
* osx/locate.md: add exact filename match

* linux/locate.md: add exact filename match
2016-08-08 10:06:59 +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
Waldir Pimenta d1c342fb6c osx/du.md: fix depth option, plus minor tweaks
The version I have uses `-d` for the depth option, not `-depth`. Here's the version string as shown by `man du`:
```
BSD                              June 2, 2004                              BSD
```

In addition to this fix, this commit changes the tokens to clarify that they are paths, and changes "directory" to "folder", which is shorter and more accessible.
2016-08-03 12:30:02 +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
Waldir Pimenta b25bf87240 add space before opening parenthesis 2016-07-14 11:57:44 +01:00
Agniva De Sarker 4b06c12713 cryptsetup: simplify page (#953)
- Cited actual examples rather than placeholder text
- Added the 'close' command
2016-07-14 11:57:07 +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 eef8de9e5c iostat: minor tweaks as mentioned in PR #946 2016-07-11 16:48:46 +01:00
Waldir Pimenta a2d0dca8a5 Merge pull request #946 from agnivade/iostat
iostat: Added some flags
2016-07-11 16:46:37 +01:00
Agniva De Sarker 98305b4ad8 Addressing minor comments 2016-07-11 21:07:30 +05:30
Agniva De Sarker bac0b9831f Separated the -m flag 2016-07-11 10:38:53 +05:30
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 4748cc27ce iostat: Added some flags
- Added basic command usage without any flags.
- Removed the '-h' flag as it seems to be added implicitly by the cmd.
- Added the interval parameter.
- Added the '-m' flag.
2016-07-10 01:21:21 +05:30
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
Leandro Ostera fc8dc452c2 Merge pull request #929 from slash3b/at
at: add page
2016-06-30 19:10:27 +02:00
slash3b 3af52d7e19 at: add page 2016-06-30 19:49:25 +03:00
Waldir Pimenta 384557eb15 Create git-imerge.md (#934) 2016-06-28 11:57:32 +01:00
Agniva De Sarker 52949a4e7b ifdown: add page (#933) 2016-06-28 08:36:51 +01:00
Leandro Ostera 211ac32f3e Merge pull request #928 from tldr-pages/xsel
simplify xsel.md, add example using X11 selection
2016-06-27 11:09:06 +02:00
Waldir Pimenta 747259fd62 fix format 2016-06-25 09:44:23 +01:00
Waldir Pimenta e99c5fd155 fix format 2016-06-25 09:43:21 +01:00
Waldir Pimenta b38c300b91 fix format 2016-06-25 09:42:42 +01:00
Waldir Pimenta ed0c87bf20 simplify xsel.md, add example using X11 selection
Also add equivalence to standard operations, to make it clearer what each example does.
2016-06-25 02:07:46 +01:00