Get a Chuck Norris joke with bash

curl -s http://api.icndb.com/jokes/random/ | python -c 'import sys, json; print "\n\n"+json.load(sys.stdin)["value"]["joke"]+"\n\n"'

Leave a Reply

Your email address will not be published. Required fields are marked *