Bash Scripting: Everything you need to know about Bash-shell programming
Respond to prompt in Bash Script – a tutorial on how to respond to prompts in Bash scripts.
Bash scripts and Mysql – a good article about working with Mysql in bash scripts, how to load SQL etc.
If statement syntax example coverage
More coverage and examples of Bash if/else statement syntax and use
Bash read builtin command used to prompt the user for a response and store it for use in the script
How to prompt and read user input in a Bash shell script – more examples and information. Different from the above link.