Search Wikipedia from Command Line
Get the intro paragraph of any wikipedia article using this trick…
dig +short txt "<keyword>".wp.dg.cx
Get the intro paragraph of any wikipedia article using this trick…
dig +short txt "<keyword>".wp.dg.cx
How to read a big text file that is tarballed – without extracting the whole thing…
bzcat enwiki-20070802-pages-articles.xml.bz2 | head -10