I use the bash a lot, even on Windows thanks to Cygwin. I just came across an excellent guide for scripting under bash called the Advanced Bash-Scripting Guide. It contains loads of useful examples.