howtothings.co.uk

Full Version: How to view wikipedia information using the terminal
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

How to view wikipedia information using the terminal

Here's an quick and easy way to find wikipedia information about certain keywords.

Simply open up your terminal and type the following:

Code:
nslookup -q=txt searchword.wp.dg.cx

Just replace "searchword" with anything you want, eg. Google or spoon. If there's a Wikipedia entry for it, it'll be displayed. If not you'll get an error similar to below.

** server can't find mcompute.wp.dg.cx: NXDOMAIN

This should work from any operating system, but i've only tested it with Ubuntu.
I think you are starting to get it kid, keep it up.
:yep