It is always better to build examples on your own and learn the basic concepts of Shell Scripting. This page provides examples of the important topics of Bash such as variables, if-then, loops, case, functions, etc. All scripts are tested and working perfectly. You are free to use the source code.