Local Variables − A local variable is a variable that is present within the current instance of the shell. It is not available to programs that are started by the shell. They are set at the command prompt.
Environment Variables − An environment variable is available to any child process of the shell. Some programs need environment variables in order to function correctly. Usually, a shell script defines only those environment variables that are needed by the programs that it runs.
Shell Variables − A shell variable is a special variable that is set by the shell and is required by the shell in order to function correctly. Some of these variables are environment variables whereas others are local variables.
Use of Backtick symbol (`) in shell variables:
The backtick allows you to assign the output of a shell command to a variable. While this doesn’t seem like much, it is a major building block in script programming.You must surround the entire command line command with backtick characters:
Maho Jase IT is a leading IT Software Training and IT Solutions and Service provider in Chennai (T nagar) and Madurai (KK Nagar). We provide best in class IT Training with 100% Job Placement Assistance in Madurai. We add value to the Students and the trainees. We Provide the best corporate training in Chennai and in Madurai. Maho Jase IT delivers Bespoke/Custom Software, Websites, E-Commerce and Development services in Chennai and in Madurai. Maho Jase IT provides the best documentation service on Powerpoint presentation in Chennai and in Madurai. We also provide good Designing services using Photoshop, Canva for your Social Media Marketing and Online Marketing in Chennai and in Madurai.
Maho Jase IT is available in T Nagar in Chennai and KK Nagar in Madurai.
75, South West Boag Road, CIT Nagar East, T Nagar,
Chennai, Tamil Nadu, India. Pincode - 600017
471, W First Cross St, KK Nagar, Behind Annanagar Police Station,
Madurai, Tamil Nadu, India. Pincode - 625020