mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 18:42:38 +00:00
42 lines
708 B
Plaintext
42 lines
708 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# googler
|
|
|
|
> Search Google from command-line.
|
|
> More information: <https://github.com/jarun/googler>.
|
|
|
|
- Search Google for a keyword:
|
|
|
|
`googler {{keyword}}`
|
|
|
|
- Search Google and open the first result in web browser:
|
|
|
|
`googler -j {{keyword}}`
|
|
|
|
- Show N search results (default 10):
|
|
|
|
`googler -n {{N}} {{keyword}}`
|
|
|
|
- Disable automatic spelling correction:
|
|
|
|
`googler -x {{keyword}}`
|
|
|
|
- Search one site for a keyword:
|
|
|
|
`googler -w {{site}} {{keyword}}`
|
|
|
|
- Show Google search result in JSON format:
|
|
|
|
`googler --json {{keyword}}`
|
|
|
|
- Perform in-place self-upgrade:
|
|
|
|
`googler -u`
|
|
|
|
- Display help in interactive mode:
|
|
|
|
`?`
|