In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to use Googler in linux, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Googler: google under your linux terminal
Googler is a simple command line tool that is used to perform google searches directly in the command line window. Googler mainly supports three types of Google searches:
Google search: a simple Google search is equivalent to searching on the Google home page.
Google news search: Google news search, just like the search in Google News.
Google site search: Google searches results from a specific site.
Googler displays search results with titles, links, and web page summaries. The search results can be opened directly in the browser with just two keystrokes.
Install Googler under Ubuntu
Let's install the software first.
First of all, make sure that your python version is greater than or equal to 3.3. you can check it with the following command.
Python3-version
If not, update it. Googler requires python version 3.3 or above to run.
Although Googler is not yet available in Ununtu's software library, we can easily install it from the GitHub repository. All we need to do is run the following command:
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/
In this way, the Googler autocomplete feature is installed with the command.
Features & basic usage
If we take a quick look at all its features, we will find that Googler is actually a very powerful tool, some of its main features are:
Interactive interface
Run the following command under the terminal:
Googler
The interactive interface will be opened. Arun Prakash Jana, the developer of Googler, calls it the omni-directional prompt omniprompt. Can you type it? To find available command parameters:
At the prompt, enter any search term keyword to start the search, and then you can type n or p to navigate to the next and previous pages of the search results.
To open the search results in a browser window, enter the number of the search results directly, or you can enter the o command to open the search page.
News search
If you want to search for news, start Googler directly with the N parameter:
Googler-N
Subsequent searches will grab the results from Google News.
Site search
If you want to search from a specific site, start Googler with the w domain parameter:
Googler-w itsfoss.com
The subsequent search will only grab the results from this blog!
Man Page
Run the following command to view Googler's man page with various use cases:
Man googler
Google search engine for specified country / region
Googler-c in "hello world"
The above example command will start the search results from Google's Indian domain name (in represents India)
It also supports:
Filter search results by time and language preferences
Support Google query keywords, such as site:example.com or filetype:pdf, etc.
Support for HTTPS proxy
Shell command automatic completion
Disable automatic spelling correction
There are more features here. You can use Googler to meet your needs.
Googler can also be integrated with some text-based browsers (e.g. elinks, links, lynx, W3M, etc.), so you don't even have to leave the terminal to browse the web. Instructions can be found on the GitHub project page of Googler.
Thank you for reading this article carefully. I hope the article "how to use Googler in linux" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.