Files
tldr/pages.zh/common/googler.md

36 lines
622 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# googler
> 从命令行搜索 Google。
> 更多信息:<https://github.com/jarun/googler>。
- 用关键词搜索 Google
`googler {{keyword}}`
- 搜索 Google 并在网页浏览器中打开第一个结果:
`googler -j {{keyword}}`
- 显示 N 个搜索结果(默认 10 个):
`googler -n {{N}} {{keyword}}`
- 禁用自动拼写校正:
`googler -x {{keyword}}`
- 在一个网站上搜索关键词:
`googler -w {{site}} {{keyword}}`
- 以 JSON 格式显示 Google 搜索结果:
`googler --json {{keyword}}`
- 执行就地自我升级:
`googler -u`
- 在交互模式中显示帮助:
`?`