Chapter 9. Variables Revisited

Table of Contents
9.1. Internal Variables
9.2. Parameter Substitution
9.3. Typing variables: declare or typeset
9.4. Indirect References to Variables
9.5. $RANDOM: generate random integer
9.6. The Double Parentheses Construct

Used properly, variables can add power and flexibility to scripts. This requires learning their subtleties and nuances.