There exist numerous command line Linux utilities that you need to use to go looking Wikipedia and get helpful data. A few of these present crisp summaries of articles and save your time. In case you’re a heavy WhatsApp consumer and also you belong to India, you too can use this Wikipedia bot.
Another terminal tips that you’ll ❤️ :
- Watch Star Wars in terminal
- Use StackOverflow in terminal
- Get Weather report in terminal
- Access Google through terminal
- Search and download torrent in terminal
Having mentioned that, let’s inform you some easy methods to get your solutions immediately and quench your thirst for information:
Command line Wikipedia search utilizing Wikit
Wikit command line program is my private favourite option to get a abstract of search subjects from Wikipedia within the command line very quickly. Right here’s the GitHub link of Wikit.
In line with City Dictionary, Wikit’s literal which means is the act of wanting up for one thing at Wikipedia.
Set up Node.js
At first, you should set up Node.js in your machine. To take action in your Ubuntu, Debian, or Mint programs, run the next command:
sudo apt-get set up nodejs
sudo apt-get set up npm
For different distros, use yum, pacman, or dnf package deal supervisor.
Putting in Wikit
After putting in Node.js, you should run a easy command to put in Wikit in your pc for utilizing Wikipedia in terminal. Right here’s how I did it on my Ubuntu machine:
sudo npm set up wikit -g
When you’ve put in Wikit, utilizing it to get Wikipedia summaries is fairly straightforward. Merely run the next command along with your search question. Notice that multi-word queries are additionally accepted and also you don’t want to incorporate quotes.
wikit <search question>
wikit <question> [-flags]
Listed below are the flags that you need to use:
- -b : Opens full Wikipedia article in browser.
- -lang langCode : Specifies language; langCode is an HTML ISO language code.
- –line num : Units line wrap size to num (minimal 15)
- -d : Opens disambiguation web page in browser.
You can even get full data on Wikit by merely working following command:
wikit -lang ja linux
wikit -b manjaro
I hope that you’d’ve liked studying about Wikit command which helps you to use Wikipedia in Terminal. In case you realize about some extra cool terminal instruments that may make the lives of fellow Fossbytes readers extra attention-grabbing, don’t neglect to share them with me.
Additionally Learn: 20 Quirky Things You Didn’t Know The Linux Terminal Could Do