1.

What do you mean by Shell variable?

Answer»

Shell variables are integral parts of all Shell PROGRAMS and SCRIPTS. In general, we know that variables usually store data either in the form of characters or NUMBERS. Shell also STORES and manipulates information using variables in its programs. Generally, shell variables are stored as strings. Variables in the shell provide the information needed for scripts/commands to execute. In the following EXAMPLE, a shell variable is created and then printed: 

variable ="Hello" 
echo $variable 



Discussion

No Comment Found