Variables and their Types

Familiarize yourself with variables in shell environment and their types.

If you have prior programming experience, then you might already be familiar with the basic concepts of Variables. This chapter will briefly summarize all the concepts that you have studied so far and give you hands-on experience on variable assignments. Variables are nothing but placeholders for memory locations. They empower the programmers to quickly store or retrieve data for the successful execution of a program.

In Bash, variables are commonly referred to as Bash Parameters. These parameters can be further categorized into three types; Special Parameters, Positional Parameters, and Shell Variables. In this chapter, we will only cover the latter one as ...

Get hands-on with 1400+ tech skills courses.