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
Last revisionBoth sides next 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:07] brb
Line 5: Line 5:
  
 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''
  
  
blog/search_google.com_from_the_linux_command_line.txt · Last modified: 2009-08-11 08:09 by brb