- Googler: A Command Line Tool to Do ‘Google Search’ from Linux Terminal
- How Does Googler Works?
- Features of Googler
- How To Install Googler in Linux
- How to Use Googler in Linux Terminal
- Откройте для себя весь мир с браузером от Google
- Эффективная работа даже без подключения к интернету
- Gmail
- Google Документы
- Gmail
- Google Документы
- Работать в Chrome очень просто
- Google Pay
- Mεταφράστε με ένα κλικ
- Перевод на другой язык одним нажатием
- Перевести на русский
- Оригинал (на греческом)
- Google Переводчик
- Браузер Chrome на большом экране
- Chromecast
- Установите браузер от Google
- Следите за нашими новостями
- Скачайте Chrome для Windows
- Скачайте Chrome для macOS
- Скачайте Chrome для Linux
- Скачайте Chrome для iOS
- Googler: Now You Can Google From Linux Terminal!
- Googler: Google in your Linux terminal
- Installation on Ubuntu
- Features & Basic Usage
- Thoughts on Googler?
Googler: A Command Line Tool to Do ‘Google Search’ from Linux Terminal
Today, Google search is a well known and the most-used search engine on the World Wide Web (WWW), if you want to gather information from millions of servers on the Internet, then it is the number one and most reliable tool for that purpose plus much more.
Many people around the world mainly use Google search via a graphical web browser interface. However, command line geeks who are always glued to the terminal for their day-to-day system related tasks, face difficulties in accessing Google search from command-line, this is where Googler comes in handy.
Googler is a powerful, feature-rich and Python-based command line tool for accessing Google (Web & News) and Google Site Search within the Linux terminal.
Note: Googler is not in any way associated to Google.
How Does Googler Works?
It provides an interface from the command line to Google search and displays results inform of title, URL and abstract information in pages, with page navigation similar to that on a GUI web browser.
Watch the quick demo of Googler.
Users can integrate it with a text-based web browser and open the result directly in the web browser.
It supports sequential searches in a single instance and importantly, users do not need to master any usage options as the shell completion scripts automatically invokes them.
Features of Googler
- Offers access to Google Search, Google Site Search, Google News.
- It is fast and clean with custom colors and no ads, stray URLs or clutter included.
- Allows navigation of search result pages from omniprompt.
- Supports fetching of number of results in a go, users can start at the nth result.
- Users can disable automatic spelling correction and search exact keywords.
- Supports limiting of search by attributes such as duration, country/domain specific search (default: .com), language preference.
- Supports Google search keywords in the form filetype:mime, site:somesite.com and many others.
- Permits non-stop searches: start new searches at omniprompt without exiting.
- Supports HTTPS proxy services.
- Ships in with a man page which includes examples, shell completion scripts for Bash, Zsh and Fish.
- Users can optionally open first search result in a web browser.
How To Install Googler in Linux
Users of Ubuntu Linux and its derivatives such as Linux Mint, Xubuntu can install it via this PPA by executing the commands below:
$ sudo add-apt-repository ppa:twodopeshaggy/jarun $ sudo apt-get update $ sudo apt-get install googler
Important: If in case above installation instructions fails to install Googler, then you need to install it from source using latest version as shown.
Other distributions can install Googler from source using following instructions.
First download the latest version of Googler (at the time writing the latest version is v2.9).
$ cd Downloads $ wget -c https://github.com/jarun/googler/archive/v2.9.tar.gz $ tar -xvf v2.9.tar.gz $ cd googler-2.9 $ sudo make install $ cd auto-completion/bash/ $ sudo cp googler-completion.bash /etc/bash_completion.d/
How to Use Googler in Linux Terminal
The following are some examples showing how Googler works in Linux, the basic command below will show information about tecmint.com :
At the end of the search result page, you can view the omniprompt help page by entering the “?” character and pressing Enter. Each key has a detailed functionality description alongside it.
In the example, we will search for the quoted words (Linux command line tricks) on tecmint.com .
$ googler -n 8 -w tecmint.com \"Linux command line tricks\"
- -n num – tells googler to display at most 8 results per a page (default is 10).
- -w – enables Google site(tecmint.com) search.
You can as well display results of latest news concerning Linux from the Google search news section by using the -N switch as follows:
Set an alias to get four results showing the meaning of a word (tecmint in this case) like so:
$ alias tecmint='oogler -n 4 tecmint' $ tecmint
Visit the Googler Github repository for more information and usage or view the Googler man page.
Googler is a handy tool, it works perfectly and reliably for Linux users who spend most of their time on the terminal and want to search the web from a text-based interface. Remember to share your thoughts about Googler in the comments.
Откройте для себя весь мир с браузером от Google
Google создает мощные инструменты, которые помогают людям работать, общаться, играть и отдыхать. Все они поддерживаются в Chrome.
Эффективная работа даже без подключения к интернету
Благодаря офлайн-интеграции с приложениями, например с Gmail и Google Документами, вы можете эффективно работать даже без доступа к сети Wi-Fi.
Gmail
Google Документы
Gmail
Используя Chrome, вы можете проверять почту в Gmail, искать сообщения и даже отвечать на них без подключения к интернету.
Google Документы
Если вы работаете в Chrome, то можете создавать, просматривать и редактировать файлы в Документах, Презентациях, Таблицах и на Диске даже без подключения к интернету.
Работать в Chrome очень просто
С браузером Chrome вы можете работать эффективно как на устройствах Android, так и на устройствах iOS.
Google Pay
С Google Pay можно оплачивать покупки прямо в Chrome. Это удобно и безопасно. Войдите в Chrome, чтобы использовать способы оплаты, сохраненные в вашем аккаунте Google.
Mεταφράστε με ένα κλικ
Η Μετάφραση μπορεί να σας βοηθήσει να επικοινωνήσετε με τον κόσμο γύρω σας και να τον κατανοήσετε.
Перевод на другой язык одним нажатием
Благодаря Google Переводчику вы можете легко общаться с людьми на любых языках.
Перевести на русский
Оригинал (на греческом)
Google Переводчик
Μεταφράστε έναν ολόκληρο ιστότοπο με ένα μόνο κλικ. Αποκτήστε πρόσβαση στη Μετάφραση Google απευθείας από τη γραμμή αναζήτησης του Chrome ή κάνοντας απλώς δεξί κλικ σε οποιαδήποτε σελίδα θέλετε να μεταφράσετε.
Переведите целый сайт одним нажатием. Откройте Google Переводчик прямо из строки поиска Chrome или нажмите правой кнопкой мыши на странице, которую хотите перевести.
Браузер Chrome на большом экране
Вам нужны только устройство Chromecast и браузер Chrome – подключайтесь и начинайте трансляцию.
Chromecast
Используя Chrome, вы можете транслировать контент со своего устройства на Chromecast или телевизор со встроенной технологией Chromecast. Можно транслировать как весь экран, так и определенную вкладку.
Установите браузер от Google
Следите за нашими новостями
Закрыть
Скачайте Chrome для Windows
Для 32-разрядной версии Windows 10
Для 64-разрядной версии Windows 10 или 11
Для 32-разрядной версии Windows 8.1/8/7
Для 64-разрядной версии Windows 8.1/8/7
Скачайте Chrome для macOS
Для macOS 10.13 или более поздняя версия.
Google Chrome больше не будет обновляться на этом компьютере, так как поддержка macOS 10.6 – 10.12 прекращена.
Google Chrome больше не будет обновляться на этом компьютере, так как поддержка macOS 10.6 – 10.12 прекращена.
Google Chrome больше не будет обновляться на этом компьютере, так как поддержка macOS 10.6 – 10.12 прекращена.
Google Chrome больше не будет обновляться на этом компьютере, так как поддержка macOS 10.6 – 10.12 прекращена.
Скачайте Chrome для Linux
Выберите пакет для скачивания:
Not Debian/Ubuntu or Fedora/openSUSE? There may be a community-supported version for your distribution here.
Скачайте Chrome для iOS
Googler: Now You Can Google From Linux Terminal!
A quick question: What do you do every day? Of course, a lot of things. But I can tell one thing, you search on Google almost every day (if not every day). Am I right?
Now, if you are a Linux user (which I’m guessing you are) here’s another question: wouldn’t it be nice if you can Google without even leaving the terminal? Without even firing up a Browser window?
If you are a *nix enthusiast and also one of those people who just love the view of the terminal, I know your answer is – Yes. And I think, the rest of you will also like the nifty little tool I’m going to introduce today. It’s called Googler!
Googler: Google in your Linux terminal
Googler is a straightforward command-line utility for Google-ing right from your terminal window. Googler mainly supports three types of Google Searches:
- Google Search: Simple Google searching, equivalent to searching on Google homepage.
- Google News Search: Google searching for News, equivalent to searching on Google News.
- Google Site Search: Google searching for results from a specific site.
Googler shows the search results with the title, URL and page excerpt. The search results can be opened directly in the browser with only a couple of keystrokes.
Installation on Ubuntu
Let’s go through the installation process first.
At first make sure you have python version 3.3 or later using this command:
If not, upgrade it. Googler requires python 3.3+ for running.
Though Googler is yet not available through package repository on Ubuntu, we can easily install it from the GitHub repository. All we have to do is run the following commands:
cd /tmp git clone https://github.com/jarun/googler.git cd googler sudo make install cd auto-completion/bash/ sudo cp googler-completion.bash /etc/bash_completion.d/
And that’s it. Googler is installed along with command autocompletion feature.
Features & Basic Usage
If we go through all its features, Googler is actually quite powerful a tool. Some of the main features are:
- Interactive Interface: Run the following command in terminal:
The interactive interface will be opened. The developer of Googler, Arun Prakash Jana calls it the omniprompt. You can enter ? for available commands on omniprompt. From the omniprompt, enter any search phrases to initiate the search. You can then enter n or p to navigate next or previous page of search results. To open any search result in a browser window, just enter the index number of that result. Or you can open the search page itself by entering o .
News Search: If you want to search News, start googler with the N optional argument:
There are much more. You can twist Googler to suit your needs.
Googler can also be integrated with a text-based browser ( like – elinks, links, lynx, w3m etc.), so that you wouldn’t even need to leave the terminal for browsing web pages. The instructions can be found on the GitHub project page of Googler.
If you want a graphical demonstration of Googler’s various features, feel free to check the terminal recording attached to the GitHub project page : jarun/googler v2.7 quick demo.
Thoughts on Googler?
Though Googler might not feel necessary or desired to everybody, for someone who doesn’t want to open the browser just for searching on google or simply want to spend as much as time possible on the terminal window, it is a great tool indeed. What do you think?