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
Infos
- Googler: https://github.com/jarun/googler
- Top-level domain abbreviations: https://en.wikipedia.org/wiki/List_of_Google_domains
- Language and local abbreviations: http://www.science.co.il/language/Locale-codes.php
- Bash autocompletion file: https://github.com/jarun/googler/blob/master/auto-completion/bash/googler-completion.bash
- Fish autocompletion file: https://github.com/jarun/googler/blob/master/auto-completion/fish/googler.fish
- zsh autocompletion file: https://github.com/jarun/googler/blob/master/auto-completion/zsh/_googler
googler_at
: https://github.com/jarun/googler/blob/master/auto-completion/googler_at/googler_at
« Previous 1 2
Buy this article as PDF
(incl. VAT)