[Ilugc] [Tip] Search Google.com from the Linux command line

  • From: girishvenkatachalam@xxxxxxxxx (Girish Venkatachalam)
  • Date: Wed Jun 23 06:24:12 2010

On Tue, Jun 22, 2010 at 10:49 PM, jemenisuresh <jemenisuresh@xxxxxxxxx> wrote:

You can search Google.com from the Linux command line without using a
CLI web browser like lynx or Elinks.
?All you need is the curl and html2text packages installed. Then you
issue the following command:

curl -A Mozilla http://www.google.com/search?q=Linux ;|html2text -width 80

where you can replace Linux with another keyword of your choice.
The results will be displayed in your console application with a width of 80. 
:)

This is a great tip. Very useful.

Thanks.

-Girish


-- 
Gayatri Hitech
web: http://gayatri-hitech.com

SpamCheetah Spam filter:
http://spam-cheetah.com

Other related posts: