Bash Programming:
http://www.ooblick.com/text/sh/
AWK Programming:
http://www.oreilly.com/catalog/unixnut3/chapter/ch11.html