LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Syndicated Linux News (https://www.linuxquestions.org/questions/syndicated-linux-news-67/)
-   -   LXer: Search Google.com from the Linux command line (https://www.linuxquestions.org/questions/syndicated-linux-news-67/lxer-search-google-com-from-the-linux-command-line-746127/)

LXer 08-08-2009 08:31 PM

LXer: Search Google.com from the Linux command line
 
Published at LXer:

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.

Read More...


All times are GMT -5. The time now is 02:14 PM.