Txt

Byte sized tech know-how.

  • Home
  • About

Tag Archives: wikipedia

29 Aug

Search Wikipedia from Command Line

Get the intro paragraph of any wikipedia article using this trick…

dig +short txt "<keyword>".wp.dg.cx
admin Posted in Command Line cli, Linux, wiki, wikipedia 4 Comments
21 Aug

Read Tarballed Text File

How to read a big text file that is tarballed – without extracting the whole thing…


bzcat enwiki-20070802-pages-articles.xml.bz2 | head -10
admin Posted in Command Line, Linux bzip, read, tar, text, wikipedia, zip Leave a comment

Post navigation

Categories

  • Code
  • Command Line
  • Configuration
  • CSS
  • HTML
  • internet
  • JavaScript
  • Linux
  • Mobile
  • Perl
  • PHP
  • Python
  • Ruby
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Fruitful theme by fruitfulcode Powered by: WordPress
↑