Chapter 11: Working with Variables
Variables are one of the most important things in programming. Being able to store and then use values in our code is as important as being able to make decisions in our scripts using if
statements.
We will cover the following recipes in this chapter:
- Using shell variables
- Using variables in shell scripting
- Quoting in the shell
- Performing operations on variables
- Variables via external commands
We are going to cover the most important things you need to know about variables, but as with almost everything else, this chapter will require you to practice.