Unix / Linux – Shell Substitution
What is Substitution? The shell performs substitution when it encounters an expression that contains one or more special characters. Example Here, the printing value of …
What is Substitution? The shell performs substitution when it encounters an expression that contains one or more special characters. Example Here, the printing value of …
In this chapter, we will discuss shell loop control in Unix. So far you have looked at creating loops and working with loops to accomplish …
A loop is a powerful programming tool that enables you to execute a set of commands repeatedly. In this chapter, we will examine the following …
In this chapter, we will understand shell decision-making in Unix. While writing a shell script, there may be a situation when you need to adopt …
There are various operators supported by each shell. We will discuss in detail about Bourne shell (default shell) in this chapter. We will now discuss …
A shell variable is capable enough to hold a single value. These variables are called scalar variables. Shell supports a different type of variable called …
We understood how to be careful when we use certain non alphanumeric characters in variable names. This is because those characters are used in the …