Search Google.com from the Linux command line

Posted by Cypress on Aug 8, 2009 9:25 PM EDT
Tips4Linux.com; By T4L
Mail this story
Print this story

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.

Full Story

  Nav
» Read more about: Story Type: Tutorial

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.