Check this website out: http://goosh.org/. This website allows you to perform Google searches using a command line like bash. Just type a search query at the command line and the results will be displayed to STDOUT.
Here is an example:
[email protected]:/web> linux shell 1) Linux Shell Scripting Tutorial - A Beginner's handbook - FreeOS.com Table of Contents. Chapter 1: Quick Introduction to Linux · What Linux is? Who developed the Linux? How to get Linux? How to Install Linux · Where I can use ... http://www.freeos.com/guides/lsst/ 2) Unix shell - Wikipedia, the free encyclopedia A Unix shell is a command-line interpreter or shell that provides a traditional .... the default interactive shell for users on most GNU/Linux and Mac OS X systems. http://en.wikipedia.org/wiki/Unix_shell 3) LinuxCommand.org: Learning the shell. Collection of Linux command-line tutorials, focused on the BASH shell. http://linuxcommand.org/learning_the_shell.php 4) LinuxCommand.org: Writing shell scripts. Here is where the fun begins. With the thousands of commands available for the command line user, how can you remember them all? The answer is, you don't. http://linuxcommand.org/writing_shell_scripts.php
This is a cool way to show off your command line skills.
There is also a Google command line utility available for Windows and Linux. Get this from here: http://code.google.com/p/googlecl/. This allows you to use various Google services from the command line. This does not currently allow Google searches, but this has many other features that make it worth investigating. To install it; download the tar.gz file and unpack it in your home folder.
Then cd into the directory created and execute this command to install:
12:51:55 ~ [email protected] $ su -c 'python setup.py install'
The required Python packages will be fetched automatically. This is on Fedora Core 19; but other Linux distributions should manage this just as well.
If all goes well; you should be able to run the google command and get some output.
13:04:59 ~ [email protected] $ google --version google 0.9.13
Here is an example using Blogger with the command-line. When you execute this command you will be prompted for the name of the blog and then your default browser will open and prompt you for permission for the GoogleCL script to access your Google services.
13:09:35 ~ [email protected] $ google --user johnsmith blogger post --tags "GoogleCL, awesome" "Here's a really short post about the GoogleCL script." Please specify blog: My Misc Blog.
So, give this a go and see what you think of this script.