Linux command
wikit 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Search Wikipedia
wikit [topic]
Multiple word query
wikit "[linux kernel]"
Specific language
wikit -l [es] [topic]
Open in browser
wikit -b [topic]
Show full article
wikit -a [topic]
Disable line breaks
wikit -n [topic]
说明
wikit is a command-line tool that fetches Wikipedia article summaries directly in the terminal. By default it displays the first paragraph of the matching article, providing a quick overview of any topic without leaving the command line. The full article mode displays extended content beyond the opening summary. Language selection allows querying any of Wikipedia's language editions, and browser mode opens the complete article in a web browser for full reading. When a query matches multiple articles, disambiguation mode lists all possible meanings so you can refine your search.
参数
- -l, --lang _LANG_
- Wikipedia language.
- -b, --browser
- Open in browser.
- -a, --all
- Full article.
- -n, --line
- No line breaks.
- -d, --disambig
- Show disambiguation.
FAQ
What is the wikit command used for?
wikit is a command-line tool that fetches Wikipedia article summaries directly in the terminal. By default it displays the first paragraph of the matching article, providing a quick overview of any topic without leaving the command line. The full article mode displays extended content beyond the opening summary. Language selection allows querying any of Wikipedia's language editions, and browser mode opens the complete article in a web browser for full reading. When a query matches multiple articles, disambiguation mode lists all possible meanings so you can refine your search.
How do I run a basic wikit example?
Run `wikit [topic]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -l, --lang _LANG_ do in wikit?
Wikipedia language.