1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 21:22:06 +02:00
tldr/pages/common/ddgr.md
Lena 6fd816e36e
pages/*: use lowercase n for integer placeholders (#16033)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2025-03-27 21:23:12 +05:30

646 B

ddgr

Search DuckDuckGo (HTML version) from the terminal. More information: https://github.com/jarun/ddgr.

  • Start in interactive mode:

ddgr

  • Search DuckDuckGo for a keyword:

ddgr {{keyword}}

  • Limit the number of search results to n:

ddgr -n {{n}} {{keyword}}

  • Display 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:

<?>