Linux command
tuxi 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Search Google for an answer
tuxi [search_terms]
Display raw output without formatting
tuxi -r [search_terms]
Display all valid answers
tuxi -a [search_terms]
Print top URLs for a query
tuxi -u [search_terms]
Suppress suggestions and show results only
tuxi -q [search_terms]
Search in a specific language
tuxi -l LANG_[language_code] [search_terms]
Display version
tuxi -v
说明
tuxi is a command-line tool that scrapes Google search results to provide instant, concise answers to queries. It extracts featured snippets and knowledge panel information to display answers directly in the terminal. The tool is useful for quick fact-checking and getting answers without opening a web browser. It requires pup (HTML parser), recode (character set conversion), and jq (JSON processor) as dependencies.
参数
- -r
- Raw format output (no colors or formatting).
- -q
- Quiet mode (suppress "Did you mean?" suggestions and greeting).
- -a
- Display all valid answers.
- -u
- Print top URLs for the query.
- -b
- Select best answer based on query keywords (experimental).
- -l _LANG_code_
- Override search language (e.g., LANG_en_US, LANG_fr_FR).
- -d
- Print debug information.
- -s
- Save HTML results to cache.
- -c
- Use most recent cached result instead of fetching.
- -p
- Disable pipe support.
- -v
- Show version information.
- -h
- Display help information.
FAQ
What is the tuxi command used for?
tuxi is a command-line tool that scrapes Google search results to provide instant, concise answers to queries. It extracts featured snippets and knowledge panel information to display answers directly in the terminal. The tool is useful for quick fact-checking and getting answers without opening a web browser. It requires pup (HTML parser), recode (character set conversion), and jq (JSON processor) as dependencies.
How do I run a basic tuxi example?
Run `tuxi [search_terms]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -r do in tuxi?
Raw format output (no colors or formatting).