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 does the sh command do?

605


How to print all the arguments provided to the script?

557


What is the difference between scripting and coding?

539


Which shell is the best?

574


Write down the syntax for all the loops in shell scripting.

662






Explain about login shell?

635


What is mac default shell?

614


Which scripting language is best for automation?

536


Write the syntax for "if" conditionals in linux?

595


How important is shell scripting?

543


Explain about the exit command?

570


Explain about non-login shell files?

695


Is shell scripting useful?

594


Explain about shebang?

622


What is shift command in shell script?

522