1.Linux Command Line and Shell Scripting Bible, Second Edition
This book is a good starting points for anyone who needs to learn the basics of bash commands, as well as how to start with conditional statements, loops, arrays etc. It goes over the basics and most used commands.
“Revised, updated, and even more jam-packed with helpful information, this new edition has what you need to master Linux command lines and shell scripts, whether you’re a novice or a Linux pro. Even home users will discover a wealth of commands and time-savers that many Linux desktop distributions keep hidden. Best of all, this guide includes a greatly expanded array of real-world, applicable scripts for advanced users. You’ll soon be able to automate practically any task on your Linux system.
1- Work from the command line and learn basic shell commands
2- Write shell scripts to automate routine functions and reports
3- Control how and when your shell scripts run on the system
4- Learn advanced methods of manipulating data in your scripts
5- Modify your scripts for graphical desktops and other Linux shells
6- Extract data from Web sites and send data between systems
7- Create professional-quality shell scripts for use in real-world environments”
quoted from amazon.com
2.bash Cookbook: Solutions and Examples for bash Users (Cookbooks (O’Reilly))
This book is for more advance linux bash programmers, and it is full of useful scripts that could be used as a starting point to develop your own script. I highly recommend this book.
“bash Cookbook teaches shell scripting the way Unix masters practice the craft. It presents a variety of recipes and tricks for all levels of shell programmers so that anyone can become a proficient user of the most common Unix shell — the bash shell — and cygwin or other popular Unix emulation packages. Packed full of useful scripts, along with examples that explain how to create better scripts, this new cookbook gives professionals and power users everything they need to automate routine tasks and enable them to truly manage their systems — rather than have their systems manage them.”
quote from amazon.com