howtothings.co.uk
How to view wikipedia information using the terminal - Printable Version

+- howtothings.co.uk (https://www.howtothings.co.uk)
+-- Forum: Computing (https://www.howtothings.co.uk/forumdisplay.php?fid=4)
+--- Forum: Operating System and Software Support (https://www.howtothings.co.uk/forumdisplay.php?fid=17)
+--- Thread: How to view wikipedia information using the terminal (/showthread.php?tid=426)



How to view wikipedia information using the terminal - Mark - 10-10-2010


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.



RE: How to view wikipedia information using the terminal - Pack3t SynAck3r - 12-10-2010

I think you are starting to get it kid, keep it up.
:yep