I have been in the process of learning to write bash scripts and also make the as efficient as possible. I never really had the need to learn any scripting until recently so I dove in. I thought I would compile a nice list of some sites that have information on Bash scripting, that way if anyone else is interested they can have an easy start on getting into it.
Bash Cures Cancer – Learn the UNIX/Linux command line.
Grover Ponders – Here is some information about creating a menu system for your scripts.
Here is a nice Crash course on getting used to bash in general.
Bash Reference Manual – This has it all.
And this has the rest. (Advanced Bash-Scripting Guide)
Sample scripts can be found here, and here.
Hope some of those links come in handy.Â If you have any other helpful bash scripting links please leave a comment.