Search google from CLI

perl -e ‘$i=0;while($i<10){open(WGET,qq/|xargs lynx -dump/);printf WGET qq{http://www.google.com/search?q=site:g33kinfo.com&hl=en&start=$i&sa=N},$i+=10}’|grep ‘//g33kinfo.com/’

curl -A Mozilla http://www.google.com/search?q=Linux |html2text -width 80

html2text http://www.google.com/search?q=searchtermhere

dig +short txt linux.wp.dg.cx -wikipedia search

check gmail from command line
curl -u username –silent “https://mail.google.com/mail/feed/atom” | perl -ne ‘print “\t” if //; print “$2\n” if /< (title|name)>(.*)< \/\1>/;’

g33kadmin

I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.