Introduction to Variables and Parameters
Bash Unix Shell Scripting: | ||
---|---|---|
Special Characters | Variable Substitution |
Chapter 4. Introduction to Variables and Parameters
- Table of Contents
- Variable Substitution
- Variable Assignment
- Bash Variables Are Untyped
- Special Variable Types
- Variable Substitution
Variables are how programming and scripting languages represent data. A variable is nothing more than a label, a name assigned to a location or set of locations in computer memory holding an item of data.
Variables appear in arithmetic operations and manipulation of quantities, and in string parsing.