Introduction
We use variable assignment to store values in a name. This helps us reuse data easily in scripts.
When you want to save a user's input to use later.
When you need to keep a count or number that changes.
When you want to store a file name or path to use multiple times.
When you want to hold a command result to use in other commands.
When you want to set configuration options inside your script.