Hack-file

ハッキングに関してまとめるブログ。高校生がハッカーを目指している。たまに哲学、都市伝説

【Linux tool紹介】ターミナルでwikipediaの検索結果を表示する方法  wikit

ターミナルからwikipediaの検索結果を表示するtool

ãsearch freeãã®ç»åæ¤ç´¢çµæ

 

Wikit

wikitとは?

LinuxでWikipediaを検索するためのコマンドラインユーティリティ。

wikitで検索すると英語で要約が出てきます。

 

 

 

 

 

 

インストール方法

 

 

 sudo npm  install wikit -g

これだけでwikitはインストールされたはず。

 

使い方 how to use

 

 

 

wikit 検索したい言葉

 

wikitに検索したい言葉でやると出てきます。

 

試しにlinuxでやってみよう。

 

 

結果は下です。 

wikit linux
? Ambiguous results, "linux" may refer to: (Use arrow keys)
❯ An init program, such as the traditional sysvinit and the newer systemd, OpenRC and Upstart. This is the first process launched by the Linux kernel, and is at the root of the process tree: in other terms,
 all processes are launched through init. It starts processes such as system services and login prompts (whether graphical or in terminal mode). 
  Software libraries, which contain code that can be used by running processes. On Linux systems using ELF-format executable files, the dynamic linker that manages use of dynamic libraries is known as ld-li
nux.so. If the system is set up for the user to compile software themselves, header files will also be included to describe the interface of installed libraries. Besides the most commonly used software libr
ary on Linux systems, the GNU C Library (glibc), there are numerous other libraries, such as SDL and Mesa. 
  Basic Unix commands, with GNU coreutils being the standard implementation. Alternatives exist for embedded systems, such as the copyleft BusyBox, and the BSD-licensed Toybox. 
  Widget toolkits are the libraries used to build graphical user interfaces (GUIs) for software applications. Numerous widget toolkits are available, including GTK+ and Clutter developed by the GNOME projec
(Move up and down to reveal more choices

 

最初のところに注意書きで

 

曖昧な結果が表示されることがある

 

と書いてあります。これは要約されたものを表示するためかと思われる。

 

もう一度エンターを押すと更に検索されます。が、個人的には続きが表示されたように思う。

 

 

日本語は使えるのか?

 

使えませんでした。

 

notfoundで終わっちゃいました。

 

しかし面白いツールだと個人的には思う。

 

まとめ

f:id:umituki_pc:20190127224345p:plain

 

 

 sudo npm  install wikit -g

でインストール。

 

wikit <seartch>

 

で使う。

 

日本語は使えない 

 

似ている記事

 

www.hack-file.com