• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Juniper Client

Its all about Networks

  • Juniper SRX
  • Juniper eBooks
  • Juniper Switches
    • Juniper Ex Switch
    • Juniper Networks Switches
    • Juniper Switch
  • Juniper Apps
  • News
  • Juniper eBooks
  • About Us
  • Show Search
Hide Search

Looking out Wikipedia on the Linux command line with wikit

vijesh · December 31, 2020 · Leave a Comment


Have you ever ever imagined wanting up some subject on Wikipedia when you’re engaged on the Linux command line? What about displaying the ends in a unique language? Sure, it is attainable. In reality, it is fairly simple. The device that gives this service known as wikit (Wikipedia IT).

To test if wikit is put in in your system, simply sort “which wikit”. Whether it is, you’ll get a response like this:

$ which wikit
/usr/native/bin/wikit

If it is not, you may set up it, however you would possibly must first set up nodejs which wikit relies on and perhaps npm as effectively with a command like one among these:

$ sudo apt set up nodejs npm	# Debian/Ubuntu
$ sudo yum set up nodejs npm	# RHEL/CentOS
$ sudo dnf set up nodejs npm	# Fedora

Set up wikit utilizing a command like this:

$ sudo npm set up wikit -g

To strive wikit out, sort “wikit” adopted by the subject that you simply’re concerned with. For instance:

$ wikit IDG
 Worldwide Knowledge Group, Inc. (IDG) is a Massachusetts registered and
 headquartered media, occasions and analysis firm centered on the tech
 panorama. Based in 1964, it's made up of Worldwide Knowledge Company
 (IDC) and IDG Communications; the latter contains the manufacturers CIO journal,
 Computerworld, CSO, InfoWorld, JavaWorld, Macworld, NetworkWorld, PCWorld,
 and TechHive. IDG was purchased by China Oceanwide in 2017 whereas sustaining
 U.S. primarily based management.

A few of the Wikipedia content material is out there in a number of languages. To get the response to the command proven above in French, for instance, you could possibly do that:

$ wikit --lang fr IDG
 IDG est un sigle qui peut signifier : * informatique de gestion ; * Worldwide
 Knowledge Group, un groupe de presse américain ; * Indépendants de gauche,
 un groupe parlementaire sous la République française ; * Infrastructure
 de données géographiques, une organisation de partage d'informations géographiques
 ; * Initiative démocratique de gauche, un mouvement politique influant
 dans l'Aisne. IDG est un code qui peut signifier : *, Iowa, États-Unis,
 selon le code AITA des aéroports.

NOTE: To find out what letters to make use of to specify a selected language, go to this Wikipedia web page with ISO 639-1 (codes for the illustration of names of languages) codes.

Wikit will supply an inventory of presumably associated matters in case your search time period seems ambiguous. This occurs as a result of that is the response that Wikipedia is offering. Wikit is just passing your question to Wikipedia and delivering the outcomes.

$ wikit idg
? Ambiguous outcomes, "idg" could confer with: (Use arrow keys)
❯ IDG Ventures
  Apple Industrial Design Group
  Indigo Books and Music
  Makaziwe Mandela
  Australian Federal Police
  Worldwide Knowledge Group
  Fixed velocity drive
  Indo-Germanic
  Record of airports in Iowa
  Infinite by-product gravity

Some queries would require further element. For instance, if we’re look to seek out out one thing a couple of very small city in Virginia, we would want extra element than simply the city’s title:

$ wikit "Star Tannery"
Star Tannery not discovered :^(
$ wikit "Star Tannery, Virginia"
 Star Tannery is an unincorporated neighborhood in southwestern Frederick County,
 Virginia on the Shenandoah County line. Star Tannery is situated on Star
 Tannery Highway (State Route 604) off Wardensville Pike (State Route 55)
 alongside Cedar Creek. The Zip Code for Star Tannery is 22654.

Attempt to get comparatively native info like this in one other language and you may in all probability discover it is not out there.

$ wikit --lang de "Star Tannery, Virginia"
Star Tannery, Virginia not discovered :^(

One of many advantages of wikit is that you would be able to pull reference info from Wikipedia and redirect it right into a file that you simply’re constructing. For instance, you would possibly strive a script like this:

#!/bin/bash

cat record | whereas learn line
do
   echo $line
   wikit "$line"
achieved

To make use of this script, you have to to have recognizable matters in your “record” file, one subject per line. Then run the script whereas redirecting its output to a file like this:

./getinfo > REPORT

Now see:

Be a part of the Community World communities on Fb and LinkedIn to touch upon matters which can be high of thoughts.

Copyright © 2020 IDG Communications, Inc.

Filed Under: News

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

A number of SD-WAN distributors can complicate transfer to SASE

Ideas for constructing a house lab to prep for community certifications

Juniper MISTifies ChatGPT, Zoom and NAC safety service

Cisco desires you to purchase now, pay later

Certifications that may land you a job as a network-automation engineer

Your decommissioned routers might be a safety catastrophe

Who’s promoting NaaS, and what do you get?

SONiC check lab positive aspects trade help

Cisco warns of assaults on community routers, firewalls

Linux cockpit

Exploring the Benefits of Using Linux Cockpit for System Management

Cisco lays groundwork for 800G networks as AI, 5G and video site visitors calls for develop

Predictive community know-how guarantees to seek out and repair issues sooner.

For Searching IFSC Codes in Banks Visit Here

For Biographies visit Crazum.com

Footer

About Juniper Client

Juniper Client is a blog dedicated in solving juniper related problems like juniper srx load balancing, juniper routers, juniper switches etc. Juniper Client is the premier provider of information, intelligence and insight for Juniper Network and IT Executives. Our main focus is to deliver news, opinion and networking tools for managing business solutions. We offer a unique and valuable information for businesses to meet their marketing objectives. Read More...

FIND IT HERE

Copyright © 2023 · Daily Dish Pro on Genesis Framework · WordPress · Log in