Lesson 15: Variables and Quoting
A variable is a named box that stores a value for reuse. You write `NAME="Dana"` and later use `$NAME`. We'll also learn the important difference between double and single quotes.
A variable is like a label on a box: you write a name ('NAME') and put a value inside. Later you ask for the box by its name.
- Variable
- A name that stores a value for reuse
- Variable expansion
- $NAME replaces itself with the value stored in the variable
- Quotes
- Double quotes let $NAME expand; single quotes take everything literally