Mac OS X

Search Google from your command line

Contributed by: Views:1,500

Any easy way to search google from the command line on Mac OS X.

Assuming you have homebrew installed, just type:

$ brew install googler

Now you can do google searches easily with:

$ googler sudohints

The results don't look so good in our case (being very new):

$ googler sudohints

1 Sudoku Hints - Solver and Online Puzzles
http://www.sudokuhints.com/
Sudoku hints online sudoku solver with graded daily puzzles.

    1a Sudoku Hints
    http://www.sudokuhints.com/sudoku-medium.html
    Sudoku hints medium size online sudoku solver with graded daily ...

    1b Puzzle Archive
    http://www.sudokuhints.com/sudoku-archive.html
    Sudokuhints archive of daily graded ... grid to open the ...

    1c Free Sudoku
    http://www.sudokuhints.com/free-download.html
    Get Free Sudoku Puzzles For Your ... Sudoku puzzles are very hot ...

    1d Available for license
    http://www.sudokuhints.com/sudoku-commercial.html
    Sudoku For Your Web Site ... Daily Puzzles One Year License Up ...

2 Solving Sudoku - Angus Johnson
http://angusj.com/sudoku/hints.php

Enter n, p, result number or new keywords (? for help)

So you can specify that you want to do an exact search by prepending the search with -x:

$ googler -x sudohints
 1  Sudo Hints - Great hints to make your computer cooler 
http://www.sudohints.com/
Friday, June 24 2016 @ 02:11 PM PDT Contributed by:Admin Views:45 Email Article To a Friend View Printable Version. Get the 
latest 2.7 and 3.5 python along ... 

 2  Ubuntu - Sudo Hints 
http://www.sudohints.com/index.php?topic=ubuntu
6 days ago - Friday, June 24 2016 @ 02:11 PM PDT Contributed by:Admin Views:38 Email Article To a Friend View Printable 
Version. Get the latest 2.7 and ... 

 3  Sudohints.com Information. Get Insights on Sudohints.com Server ... 
http://netho.me/sudohints.com
Sudohints.com is not pointed to any hosting yet. This means it is not possible to assign any physical address to 
sudohints.com because any geographical data is ... 

 4  sudo hints - Ubuntu Mailing Lists 
https://lists.ubuntu.com/archives/ubuntu-devel/2006-February/014999.html
sudo hints. Paul Sladen ubuntu at paul.sladen.org. Fri Feb 3 11:56:08 GMT 2006. Previous message: Ubuntu archive backend 
migrating to Launchpad; Next ... 

 5  sudo hints and ~/.hushlogin in debian or ubuntu | What keramida said… 
https://keramida.wordpress.com/2010/11/08/sudo-hints-and-hushlogin-in-debian-or-ubuntu/
Nov 8, 2010 - sudo hints and ~/.hushlogin in debian or ubuntu. My work laptop runs Ubuntu Linux. After using Ubuntu for 
more than a month now, I can ... 

Enter n, p, result number or new keywords (? for help)

To open a result, just press the number and hit enter. It will open in your default browser.

To quit, press q and then enter.

Other useful switches include:

-s## start at the #th result
-N show news results
-C disable color output

Happy Googling!