Google is crazy!

Source: Internet
Author: User

Google is crazy!
GuideA small question: What do you do every day? Of course, there are many things, but I can point out one thing. You use Google to search almost every day. Am I right? Now, if you are a Linux User, there is another problem: If you don't even have to leave the terminal to perform Google search, isn't that great? You don't even need to open a browser window?

If you are a * nix-like system enthusiast and a user who prefers terminal interfaces, I know your answer is yes, and I think, next, you will also like the pretty little tool that I will introduce today. It is called Googler.

Googler: google

Googler is a simple command line tool used for google search directly in the command line window. Googler mainly supports three types of Google Search:

  1. Google Search: A simple Google search is equivalent to a Google homepage search.
  2. Google News search: Google News search is the same as Google News.
  3. Google site search: search results from a specific website.

Googler displays search results using titles, links, and webpage summaries. The search results can be opened directly in the browser by pressing only two buttons.

Install Googler in Ubuntu

Let's install the software first. First, make sure that your python version is greater than or equal to 3.3. You can run the following command to view the python version.

python3 --version

If not, update it. Googler requires python version 3.3 and later. Although Googler cannot be found in the Ununtu software library, we can easily install it from the GitHub repository. We need to run the following command:

cd /tmpgit clone https://github.com/jarun/googler.gitcd googlersudo make installcd auto-completion/bash/sudo cp googler-completion.bash /etc/bash_completion.d/

In this way, Googler automatically installs the feature with the command.

Features & basic usage

If we quickly browse all of its features, we will find that Googler is actually a very powerful tool, and its main features are:

Interactive Interface

Run the following command on the terminal:

googler

The interactive interface is opened. Arun Prakash Jana, a developer of Googler, is calledOmnidirectional prompt, You can enter? Find available command parameters:

At the prompt, enter any search term keyword to start the search. Then you can enter n or p to navigate to the next page of the search result and the previous page. To open the search result in the browser window, enter the search result number directly, or you can enter the o command to open the search webpage.

News search

If you want to search for news, start Googler directly with the N parameter:

googler -N

Subsequent searches will capture results from Google News.

Site Search

If you want to search from a specific site, start Googler with w domain name parameters:

googler -w itsfoss.com

The subsequent search will only capture results from this blog!

Manual page

Run the following command to view the Googler manual page with various use cases:

man googler/pre>
Google search engine in specified country/region
googler -c in "hello world"

The above example command will start to search results from Google's Indian domain name (in stands for India)

It also supports:

  • • Filter search results by time and language preferences
  • • Supports Google Keyword query, such as site: example.com or filetype: pdf.
  • • Support for HTTPS Proxy
  • • Auto-completion of Shell commands
  • • Disable automatic spelling correction

More features are available here. You can use Googler to meet your needs.

Googler can also be integrated with some text-based browsers (such as elinks, links, lynx, and w3m), so you don't even have to leave the terminal to browse the Web page. You can find instructions on the Googler GitHub project page.

What is Googler's opinion?

Although googler may not be necessary and eager for everyone, it is a great tool for people who do not want to open a browser for google search or want to soak in the terminal window. What do you think?

From: https://linux.cn/article-7792-1.html

Address: http://www.linuxprobe.com/googler-linux-google.html


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.