Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Linux » How to Use Wiki from Linux Terminal
  • ext
    How to install a standalone DriveLock Encryption software on Windows Security | Vulnerability Scans and Assessment
  • MBAM
    The web application “Administration Portal” cannot be enabled because one or more software dependencies are not met Windows
  • screenshot 2020 04 23 at 00.30.09
    How to mount a USB Drive in Linux Linux
  • MP Tools
    Veles Software: How to install and configure MPA Tools Reviews
  • Veeam
    Failed to connect to Veeam Backup and Replication server: Remote Channel Sink UriNotPublished, remote connection refused, and failed to start the service Backup
  • MBRGPT
    Run MBR and GPT conversion with the best GPT converter Windows
  • images 1 3
    Failed to create a new scheduled task name RemoteException: Cannot create the file when that file already exists Windows Server
  • Disable Microsoft SQL Auto Close Option
    Disable SQL Auto Close: Auto Close is enabled for both ePO and ePO Events Databases Oracle/MSSQL/MySQL

How to Use Wiki from Linux Terminal

Posted on 18/04/202318/04/2023 Imoh Etuk By Imoh Etuk No Comments on How to Use Wiki from Linux Terminal
Wiki-in-Linux
Install Wikit on Linux

In this post, I show you how to use Wiki from Linux Terminal. It is well-known that dedicated Linux users live and die by the command line. You can perform almost everything from within a terminal, thus many people don’t bother installing a desktop environment. Wikit is a free and open-source command line tool that uses Nodejs to display Wikipedia summaries of search queries. The verb Wikit (derived from “Wikipedia it”) implies to search something on wikipedia.org, the Internet’s most popular and impressive open-source encyclopedia. See how to Associate SSH Public key with Azure Linux VM. Learn more about Linux by reading the following posts; How to Switch between Users in Linux, Set Two-Factor Authentication for SSH in Linux, and How to use Systemd Timers on Linux. Linux lovers who prefer not to leave their Terminal can quickly assess Wiki from Linux Terminal.

Installing Wikit

To install Wikit on Linux systems, you must have nodejs and npm installed, if not run the below commands depending on your Ubuntu Distro to install it using your default package manager as shown.

$ sudo apt install nodejs	#Debian/Ubuntu
$ sudo yum install nodejs npm	#RHEL/CentOS
$ sudo dnf install nodejs npm	#Fedora 22+
Install-Nodejs
Installing Wikit Command

After installing the necessary dependencies, run the following command to install wikit in Linux. Note, the -g flag instructs npm to install wikit globally.

$ sudo npm install wikit -g
Installing-wikit
Installing Wikit

After Wikit is installed on your machine, run the command below to get started and learn about Ubuntu.

$ wikit ubuntu
wikit-ubuntu

The above command generates what Ubuntu is all about. Please see How to uninstall Git from MacOS, How to uninstall AWS CLI in Windows, how to create a Password Policy via GPO, and How to run apps as an administrator on Windows 10 and Windows 11.

You can open Wikipedia on your browser by running:

 wikit linux -b

To define the line wrap length to number, use the -l option as shown in the below screenshot.

define-the-line-wrap
Defining the Line Wrap Length

Reading and using text from Wikipedia

Get ready for Wikit to deliver one very long line of text if you search for a complex topic. For instance, even though the file would include roughly 2,000 characters, if I asked Wikipedia for information about the AWS Cloud and wrote the text to a text file, I would get something as below:

$wikit AWS > Cloud
$cat Cloud
Write-to-File-1
Writing Result to a Text File

Here are some related articles: How to install Gradle on Ubuntu, how to install Node.js on Ubuntu, how to set up a self-hosted speed test server on Ubuntu Linux, how to Create an App Service Plan with Continuous Deployment to deploy a .NET Application from GitHub, and How to use SysInternals Live Tools.

You can use the below command to divide all those characters into lines that may be 50 characters long, but only on word boundaries:

$ fold -s -w50 AWS > Cloud2
$ wc -l Cloud2
54 Cloud2
Dividing-characters-into-lines
Dividing Characters into Lines

In summary, wikit offers a simple method for downloading text from Wikipedia via the command line so that you can see or save it on your Linux system.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Pocket (Opens in new window) Pocket
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Linux Tags:Ubunt 20.04 LTS, Ubuntu

Post navigation

Previous Post: How to fix Windows Task Scheduler 0x2 Error
Next Post: Fix Windows Task Scheduler Error 0x1

Related Posts

  • greywireshark
    How to install WireShark on a Linux Ubuntu System Linux
  • feature photo terraform
    How to install Amazon RDS using Terraform Linux
  • trip wire feature
    How to install and configure Tripwire on Ubuntu Linux
  • RUST FEATURE
    How to install Rust in a Linux System Linux
  • ysvxdf
    Install and configure BigBlueButton on Ubuntu Linux Linux
  • Screenshot 2022 04 13 at 21.38.35
    Check Weather Conditions via Command Line on Windows, macOS, Linux and Web Linux

More Related Articles

greywireshark How to install WireShark on a Linux Ubuntu System Linux
feature photo terraform How to install Amazon RDS using Terraform Linux
trip wire feature How to install and configure Tripwire on Ubuntu Linux
RUST FEATURE How to install Rust in a Linux System Linux
ysvxdf Install and configure BigBlueButton on Ubuntu Linux Linux
Screenshot 2022 04 13 at 21.38.35 Check Weather Conditions via Command Line on Windows, macOS, Linux and Web Linux

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • ext
    How to install a standalone DriveLock Encryption software on Windows Security | Vulnerability Scans and Assessment
  • MBAM
    The web application “Administration Portal” cannot be enabled because one or more software dependencies are not met Windows
  • screenshot 2020 04 23 at 00.30.09
    How to mount a USB Drive in Linux Linux
  • MP Tools
    Veles Software: How to install and configure MPA Tools Reviews
  • Veeam
    Failed to connect to Veeam Backup and Replication server: Remote Channel Sink UriNotPublished, remote connection refused, and failed to start the service Backup
  • MBRGPT
    Run MBR and GPT conversion with the best GPT converter Windows
  • images 1 3
    Failed to create a new scheduled task name RemoteException: Cannot create the file when that file already exists Windows Server
  • Disable Microsoft SQL Auto Close Option
    Disable SQL Auto Close: Auto Close is enabled for both ePO and ePO Events Databases Oracle/MSSQL/MySQL

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,836 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.