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

  • From: jemenisuresh <jemenisuresh@xxxxxxxxx>
  • To: KanchiLug <kanchilug@xxxxxxxxxxxxx>, ilugc@xxxxxxxxxxxxx
  • Date: Tue, 22 Jun 2010 22:49:34 +0530

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. :)

--
Regards,
Tha.Suresh

Kanchi Linux User Group Rocks !!!!
http://kanchilug.wordpress.com

My experiences with Linux are here,
http://thasulinux.wordpress.com
 

Other related posts:

  • » [kanchilug] [Tip] Search Google.com from the Linux command line - jemenisuresh