Search Wikipedia from the command line.

8/05/2009 , 0 Comments

Command-Line Fu website explain how to query Wikipedia using the good old built in “Dig” command.

Generally dig command is used to look up DNS records that also can text record.

image

Some have created an script that can query the Wikipedia summary for an article querying the records from the command line.

Syntax:

dig +short txt <keyword>.wp.dg.cx

Some examples

dig +short txt linux.wp.dg.cx
dig +short txt torrent.wp.dg.cx.

You the idea right.
More syntax and usage can be found on commandlinefu.

0 comments :