What is the difference between a shell variable that is
exported and the one that is not exported?

Answer Posted / madhavi

the major difference between the shell variable that is
exported and not is variable exported using export command
is global to all shell,where as the other shell variables
are local to their respective shells.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is shell scripting used for?

570


Is shell a part of kernel?

556


What are the different commands available to check the disk usage?

492


Write a command sequence to find the count of each word?

539


What does the sh command do?

604






how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?

3603


What is the conditional statement in shell scripting?

657


What does echo $0 do?

580


What is the difference between bash and shell?

641


Why is a script important?

562


State the advantages of shell scripting?

593


How will you pass and access arguments to a script in linux?

582


What are filters explain sort with all the options available?

932


How can we find the process name from its process id?

705


How to print all array elements and their respective indexes?

503