Once in a while, we hold sharing fascinating Linux terminal tricks to make your total expertise extra enjoyable. Whereas engaged on a pc, one of many major duties carried out by us is browsing the net to achieve data. For a lot of of you, Google is the go-to vacation spot whereas performing the search on the internet. Nevertheless, if you happen to’re privacy-oriented, it’s good to use DuckDuckGo.
ddgr — Use DuckDuckGo from Linux terminal
In a earlier article, we’ve already informed you how you can use a well-liked instrument named googler to carry out Google searches from the Linux command line. For DuckDuckGo, you should utilize ddgr cmdline utility, which I not too long ago noticed on Reddit. It goes with out saying that this instrument isn’t affiliated with DuckDuckGo.
With this instrument, you’ll be able to specify the variety of search outcomes you want to see on a search web page. “The default interface is rigorously designed to make use of minimal house with out sacrificing readability,” the GitHub web page of ddgr states.
Its spotlight options are:
- Specify variety of outcomes per web page
- DuckDuckGo Bang help
- Quick, clear, ad-free
- Key phrases help
- HTTPS proxy help
- Do Not Observe
- Continuous searches
- Management search by time, area
- Disable secure searchfwe
How one can set up and use ddgr in Linux?
Earlier than making an attempt to put in ddgr instrument, please word that it requires Python 3.6 or later. To verify your Python 3 model, run the next command:
Having confirmed that you just’re all set, run the next command to put in ddgr from a PPA in your Ubuntu distro or its derivatives. On ddgr’s GitHub web page, you’ll find the directions to put in the identical on different distros as effectively.
sudo add-apt-repository ppa:twodopeshaggy/jarun
sudo apt-get replace
sudo apt-get set up ddgr
After putting in ddgr instrument to make use of DuckDuckGo from command line, you’re prepared to make use of it. To take action, run the next command:
Now, enter the search time period to carry out the motion:
As you’ll be able to see within the image, the highest DuckDuckGo outcomes for fossbytes are listed:
You may straight mix the above two arguments and carry out search:
In case you want to open the primary end in browser, observe this sample;
ddgr -j searchterm
To look the contents of a web site, observe this sample and enter search question when prompted:
ddgr -w web site.com
For viewing the whole URLs in search consequence, use -x:
ddgr -x searchterm
To exit ddgr, hit double Enter or use q key. For assist and full listing of supported cmdline choices, use assist command:
You may go to ddgr’s GitHub page to know extra data and register your points. Give it a strive, use DuckDuckGo from terminal, and share your views about the identical.
Don’t overlook to verify a number of extra terminal methods: