How to run a Google search from the Linux command line

Being able to Google from the command line could be an environment friendly approach to search for one thing on Linux. Jack Wallen reveals you the way with the assistance of Googler.

linux.jpg

Picture: Zhanna Hapanovich/Shutterstock

The vast majority of individuals depend upon Google as a search engine. We use it daily to search out the required info to maintain us within the know. While you need to Google one thing, you both attain in your cellphone or open a browser. 

SEE: 40+ open supply and Linux phrases you want to know (TechRepublic Premium)

However in case you’re a Linux person, you may want a sooner method of doing so (as a result of effectivity is the secret). So what if I instructed you it is potential to carry out a google search from the command line? It is not solely potential, it is easy. 

Now, earlier than we get into this, know that the appliance I will present solely presents the search outcomes and requires a default internet browser to open the outcomes. So, though you may concern your preliminary search inside the command line, clicking a hyperlink will take you out of the command line and right into a GUI software. Nevertheless, having a Google like this round does have implications for bash scripts and different command line utilities. 

With that stated, let’s set up the most recent model of Googler and see the way it’s used. 

To put in Googler, open a terminal window and obtain the most recent model with 

wget https://uncooked.githubusercontent.com/jarun/googler/v4.3.2/googler. 

After getting the appliance downloaded, transfer it with 

sudo mv googler /usr/native/bin/. 

Lastly, give the script executable permissions with 

sudo chmod +x /usr/native/bin/googler. 

Googler is able to go. 

To make use of the app, merely sort googler STRING (the place STRING is what you need to google). 

For instance, if you wish to google TechRepublic, you’d sort 

googler techrepublic. 

Should you see a outcome that pursuits you, click on on the hyperlink to open your default browser. You may get extra particular along with your searches as properly. Say you need to search TechRepublic for Linux content material, that command could be 

googler -w techrepublic.com linux. 

The outcomes would solely present Linux-related content material. 

And that is how one can google from the Linux command line. Take pleasure in this helpful and environment friendly device.

Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the most recent tech recommendation for enterprise professionals from Jack Wallen.

Additionally see

Recent Articles

spot_img

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here

Stay on op - Ge the daily news in your inbox