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 the syntax of "nested if statement" in shell scripting?

818


What is difference between shell and bash scripting?

729


What is the meaning of $1 in shell script?

828


What does it mean to debug a script?

794


‎What is a shell? · ‎Types of shell · ‎what is shell scripting?

759


What is path variable bash?

754


What is @echo off?

766


What are the two files of crontab command?

861


What is a shell made of?

740


What is the crontab?

737


Set up a Sev 2 alert when the Primary WA service fails. A windows batch script needs to be created that will monitor the WA service on the Primary and when the service stops/fails a Sev 2 TT is generated for a particular team ?

1921


What is a shell environment?

753


What is a boot block?

760


How do scripts work?

794


What are the advantages of shell scripting?

821