The Fundamentals of Bash Scripting http://net.tutsplus.com/tutorials/other/the-fundamentals-of-bash-scripting/