3 | variables

Shell Scripting Tutorial


Hello Programmers, I’m Yash. Sole programmer at planetvearcity – a place where programmers come to learn, build, and grow.

Welcome to the tutorial series on shell scripting. In this video, we will cover variables.

The definition of a variables-a chunk of memory to which we can allocate values, interpret and manipulate its contents. Every programming language in existence has the concept of variables. There is no exception to the Bourne shell.

One thing to note is that when we declare variables along the way there should be no space around = sign. So let us get started.

The shell does not care about types of variables; they may store strings, integers, real numbers. Actually, these are all stored as strings.



Leave a Reply

Your email address will not be published. Required fields are marked *