commands.sh

ddgr

all

Search DuckDuckGo (HTML version) from the terminal.

More info →

Options (3)

-n, --numboolean

Limit the number of search results to `n`

Example: ddgr {{[-n|--num]}} {{n}} {{keyword}}
-x, --expandboolean

Display the complete URL in search results

Example: ddgr {{[-x|--expand]}} {{keyword}}
-w, --siteboolean

Perform a website-specific search

Example: ddgr {{[-w|--site]}} {{site}} {{keyword}}

Examples (8)

Start in interactive mode

Search DuckDuckGo for a keyword

ddgr keyword

Limit the number of search results to `n`

ddgr [-n|--num] n keyword

Display the complete URL in search results

ddgr [-x|--expand] 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] site keyword

Search for a specific file type

ddgr keyword filetype:filetype

Display help in interactive mode

<?>
made by @shridhargupta | data from tldr-pages