mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 22:35:28 +02:00
ddgr: add page (#11060)
* ddgr: add page * ddgr: add more examples * ddgr: fix error * ddgr: requested changes applied
This commit is contained in:
parent
d3ad7b509e
commit
5df48879ed
1 changed files with 36 additions and 0 deletions
36
pages/common/ddgr.md
Normal file
36
pages/common/ddgr.md
Normal file
|
@ -0,0 +1,36 @@
|
|||
# ddgr
|
||||
|
||||
> Commandline utility to search DuckDuckGo (html version) from the terminal.
|
||||
> More information: <https://github.com/jarun/ddg>.
|
||||
|
||||
- Start interactive mode:
|
||||
|
||||
`ddgr`
|
||||
|
||||
- Search DuckDuckGo for a keyword:
|
||||
|
||||
`ddgr {{keyword}}`
|
||||
|
||||
- Limit the search results number to N:
|
||||
|
||||
`ddgr -n {{N}} {{keyword}}`
|
||||
|
||||
- Show the complete URL in search results:
|
||||
|
||||
`ddgr -x {{keyword}}`
|
||||
|
||||
- Search DuckDuckGo for a keyword and open the first result in the browser:
|
||||
|
||||
`ddgr !w {{keyword}}`
|
||||
|
||||
- Perform a website specific search:
|
||||
|
||||
`ddgr -w {{site}} {{keyword}}`
|
||||
|
||||
- Search for a specific file type:
|
||||
|
||||
`ddgr {{keyword}} filetype:{{filetype}}`
|
||||
|
||||
- Display help in interactive mode:
|
||||
|
||||
`?`
|
Loading…
Add table
Reference in a new issue