Command-line search engine

Troubleshooting Notes

Googler does have some limitations. For example, searching for a single result may return nothing because the Google web service omits some results depending on your geolocation. In the same way, if the expected number of results are not shown, that is probably because you entered a larger number of results than actually exists. Nor can you get any results from Google News if the country is set to Denmark (dk), Finland (fi), or Iceland (is), none of which have a news service.

Sometimes, problems can be solved by using

--exact (-x)

which disables Google's spelling autocorrection. On a server, you may also need to specify a proxy with:

--proxy=PROXY (-p)

However, if these solutions fail, you may find that Googler will not work as expected.

However, when Googler is customized with suitable aliases, you may find that it is a more flexible application than Google in a web browser. Like many command-line applications, Googler requires some memorization, but once you know the options you use most often, Googler becomes a match for a web browser or even surpasses it for speed and accuracy.

Bruce Byfield

Bruce Byfield is a computer journalist and a freelance writer and editor specializing in free and open source software. In addition to his writing projects, he also teaches live and e-learning courses. In his spare time, Bruce writes about Northwest coast art. You can read more of his work at http://brucebyfield.wordpress.com

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Clever Tracker

    If you are a genuine admin, you will want to be able to google things at the command line. Charly uses googler for this; it has pretty useful capabilities despite the unimaginative name.

  • FOSSPicks

    Sparkling gems and new releases from the world of Free and Open Source Software.

  • ddgr Search

    Since 2008, DuckDuckGo has been making waves as an efficient and much more private search engine alternative to Google. The unaffiliated command-line tool ddgr is designed to make running DuckDuckGo searches from the terminal a breeze.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News