2023-10-19 09:00:35 +01:00
|
|
|
# ddgr
|
|
|
|
|
2023-10-21 22:34:54 +01:00
|
|
|
> Search DuckDuckGo (HTML version) from the terminal.
|
|
|
|
> More information: <https://github.com/jarun/ddgr>.
|
2023-10-19 09:00:35 +01:00
|
|
|
|
2023-10-21 22:34:54 +01:00
|
|
|
- Start in interactive mode:
|
2023-10-19 09:00:35 +01:00
|
|
|
|
|
|
|
`ddgr`
|
|
|
|
|
|
|
|
- Search DuckDuckGo for a keyword:
|
|
|
|
|
|
|
|
`ddgr {{keyword}}`
|
|
|
|
|
2023-10-21 22:34:54 +01:00
|
|
|
- Limit the number of search results to `N`:
|
2023-10-19 09:00:35 +01:00
|
|
|
|
|
|
|
`ddgr -n {{N}} {{keyword}}`
|
|
|
|
|
2023-10-21 22:34:54 +01:00
|
|
|
- Display the complete URL in search results:
|
2023-10-19 09:00:35 +01:00
|
|
|
|
|
|
|
`ddgr -x {{keyword}}`
|
|
|
|
|
|
|
|
- Search DuckDuckGo for a keyword and open the first result in the browser:
|
|
|
|
|
|
|
|
`ddgr !w {{keyword}}`
|
|
|
|
|
2023-10-21 22:34:54 +01:00
|
|
|
- Perform a website-specific search:
|
2023-10-19 09:00:35 +01:00
|
|
|
|
|
|
|
`ddgr -w {{site}} {{keyword}}`
|
|
|
|
|
|
|
|
- Search for a specific file type:
|
|
|
|
|
|
|
|
`ddgr {{keyword}} filetype:{{filetype}}`
|
|
|
|
|
|
|
|
- Display help in interactive mode:
|
|
|
|
|
|
|
|
`?`
|