Chapter 4: Conditionals Execution (Decision Making)
From Linux Shell Scripting Tutorial - A Beginner's handbook
Objectives:
- Use bash control structures to break sequential flow.
- Testing conditions using if..else..fi and case..in..esac.
- Use boolean AND, OR, and NOT operators.
- Comparing numeric, and string data.
- Comparing file attributes.
- Passing command line parameters to shell script.