Introduction
Variables let you save information so you can use it again later without typing it over and over.
When you want to remember a user's name and use it multiple times in a script.
When you need to store a file path to use it in several commands.
When you want to keep a number to do calculations or comparisons later.
When you want to make your script easier to change by updating one place only.
When you want to avoid repeating long or complex values in your script.