tldr/pages/common/ddgr.md

37 lines
655 B
Markdown
Raw Normal View History

# 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:
`?`