Created
July 15, 2013 19:00
-
-
Save magoon/6002482 to your computer and use it in GitHub Desktop.
Command-like Wikipedia
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Wikipedia lookup from command line | |
# | |
# Add this function to your ~/.bash_profile | |
# | |
# Usage: wiki %s | |
# Example: wiki antidisestablishmentarianism | |
# | |
function wiki() { dig +short txt "$@.wp.dg.cx" ;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment