User Tools

Site Tools


blog:search_google.com_from_the_linux_command_line

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
blog:search_google.com_from_the_linux_command_line [2009-08-11 08:01] – created brbblog:search_google.com_from_the_linux_command_line [2009-08-11 08:09] (current) brb
Line 6: Line 6:
 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. 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.
  
 +I have created a bash shell function for this:
 +  google() { curl -A Mozilla http://www.google.com/search?q=$* | html2text -width 80; }
 +
 +Now you can just ''google linux''
 +
 +Reference: http://tips4linux.com/search-googlecom-from-the-linux-command-line/
  
 {{tag>linux}} {{tag>linux}}
blog/search_google.com_from_the_linux_command_line.1249970462.txt.gz · Last modified: 2009-08-11 08:01 by brb