Making advanced searchesΒΆ
From Ducker you can do pretty much the same that
you can do with DuckDuckGo. It has options to search
for images, videos and websites, to filter results by date,
by website... To check out every available option
execute duck -h
.
You can search for images of ducks executing duck -i
ducks
or the long form duck --image-search ducks
. It’s
very intuitive.
You can also use DuckDuckGo bangs and other nice
features of DuckDuckGo. Note that you must escape the
exclamation mark (!) in Bash when using bangs. To
go directly to the website of the first search
result you can execute ducker ! freakspot.net
or
duck \\freakspot.net
. You can make this types of searches
more comfortable to type using aliases for your shell
(see Customization).
DuckDuckGo makes spell corrections sometimes. If you don’t
want your spelling to be corrected by DuckDuckGo, then use the
--exact
flag.
You can even filter results by date with the -t
and --time
options. You
must specify the time limit: a (any time), d (past day), w (past week), m (past
month). For instance, ducker -t d cats
will get you the
results from the past day related to cats.
If you just want to output the search results pages you
can use the --np
and --noprompt
options, which
will perform the search, output it in the terminal and
exit. If you prefer to output it in JSON format, you can
use the --json
parameter.