Here's a one-line shell command to get the current threat level from the Department of Homeland Security:
alias hstl 'echo -n "Threat Level: ";'" curl -s
http://www.dhs.gov/dhspublic/getAdvisoryCondition |
tail -n 1 | awk -F\"'"'" '{ print "\$2" }'"
NOTE: Enter the above as one long line with a space before http and tail; broken up here for easier readability.Mac OS X Hints
http://hints.macworld.com/article.php?story=20031229185336725