The first part of the series is about Shell variables. Below are some posts about shell variables
- Declaring variables
- Printing variables
- Local variables
- Global or environment variables
- Advanced declaring variables
- System defined variables
- Positional parameters or command line arguments
- Special system defined variables.
Some questions and answers about Variables
What are variables?
A variable is name given to a value such as number, character, string etc.
Why to declare a variable?
We declare variable for storing some value in it. So that shell scripts will not depend on change in values.
Where we will use variables?
Variables are used to substitute commands, substitute values with generic names, Substitute paths with just names etc.
Stay tuned to our posts on Variables.
Latest posts by Surendra Anne (see all)
- FREE: JOIN OUR DEVOPS TELEGRAM GROUPS - August 2, 2019
- Review: Whizlabs Practice Tests for AWS Certified Solutions Architect Professional (CSAP) - August 27, 2018
- How to use ohai/chef-shell to get node attributes - July 19, 2018
- wget download a file to a directory in Linux/Unix - June 4, 2018
- GIT: How to compare two GIT branches? - June 3, 2018