If you’ve ever had the to look up information using the prompt, the Command-Line Fu site explains how to query using the built-in dig utility.

wiki_cmd_search.jpg

The idea is simple – you can use the dig command to look up , including attached to a , and somebody created an that pulls back the summary for an article by querying the records from the command line.

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

To do this for yourself, use the following from your prompt, replacing the keyword with the you are trying to look up. Because this uses the command-line dig tool, this should work natively on , but need to have Cygwin installed.

Tags: , , , , , , , , , ,

Related posts