Saturday, February 11, 2017

Searching google from command line Ubuntu

Searching google from web browser is so boring, do want try something new? like searching google from command line of ubuntu.

With program called googler, you can do google search from command line, googler is currently not part of ubuntu repository, so if you want to install googler, you need to use the PPA repo.

How to install googler on ubuntu
  • open command line, then add PPA repo for googler
  • sudo add-apt-repository ppa:twodopeshaggy/jarun
  • run update command
  • sudo apt-get update
  • install googler
  • sudo apt-get install googler
  • have fun!

You can search with googler by running 'googler' and then enter the keyword you wish to search, to go to the next page press 'n' or 'p', press 'f' to jump to first page, 'q' for exit from googler.

Googler shortcuts
  n, p                             [ fetch the next or previous set of search results]
  index                          [ open the result corresponding to index in browser]
  f                                  [ jump to the first page]
  o                                 [ open the current search in browser]
  g keywords                 [ new Google search for 'keywords' with original options]
  q, ^D, double Enter    [exit googler]
  ?                                 [show omniprompt help]
  *                                 [any other string initiates a new search with original options]

No comments:

Post a Comment