Search Google.com from the Linux command line

On September 6, 2009, in command, Google, search, terminal, by Dipin Krishna

You can search Google.com from the Linux command line without using a command line web browser like lynx or Elinks. All u need is the curl and html2text packages installed. Then issue the following command: curl -A Mozilla http://www.google.com/search?q=Dipin+Krishna |html2text -width 60 where you can replace Dipin Krishna with another keyword of your choice. The […]

 

Search