Some scripts run without any interaction from the user at all. Advantages of non-interactive scripts include: The script runs in a predictable way every time. The script can run in the background.
Variable is a temporary store for a simple piece of information, making it easier to use and manage in scripts. Tow actions that we do with variables is setting a value for the variable, or reading its value .