Chapter 9: Functions
From Linux Shell Scripting Tutorial - A Beginner's handbook
Objectives:
- Define and use 'functions' in scripts.
- Explains how to pass arguments into a function.
- Sharing variables with main script.
- Creating simple shell script function libraries or files.