HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

googler — Search Google from the command-line. More information: <https://github.com/jarun/googler#usage>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandfromsearchcligooglegoogler

Problem

How to use the googler command: Search Google from the command-line. More information: <https://github.com/jarun/googler#usage>.

Solution

googler — Search Google from the command-line. More information: <https://github.com/jarun/googler#usage>.

Search Google for a keyword:
googler {{keyword}}


Search Google and open the first result in web browser:
googler {{[-j|--first]}} {{keyword}}


Show n search results (default: 10):
googler {{[-n|--count]}} {{n}} {{keyword}}


Disable automatic spelling correction:
googler {{[-x|--exact]}} {{keyword}}


Search one site for a keyword:
googler {{[-w|--site]}} {{site}} {{keyword}}


Show Google search result in JSON format:
googler --json {{keyword}}


Perform in-place self-upgrade:
googler {{[-u|--upgrade]}}


Display help in interactive mode:
<?>

Code Snippets

Search Google for a keyword

googler {{keyword}}

Search Google and open the first result in web browser

googler {{[-j|--first]}} {{keyword}}

Show `n` search results (default: 10)

googler {{[-n|--count]}} {{n}} {{keyword}}

Disable automatic spelling correction

googler {{[-x|--exact]}} {{keyword}}

Search one site for a keyword

googler {{[-w|--site]}} {{site}} {{keyword}}

Context

tldr-pages: common/googler

Revisions (0)

No revisions yet.