“Linux Command Line and Shell Scripting Bible” book includes basic and advanced shell scripting and its examples. You can read online or free download this book from here.