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

Answer Posted / narendrasairam

What that makes the difference is its Access Scope.
An exported variable is available across the scrips unlike
an unexported one which is local to the script.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the way to do multilevel if-else's in shell scripting?

664


Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.

569


What are the zombie processes?

567


Explain about return code?

632


What does egrep mean?

575






Why is a script important?

565


What are the advantages of shell scripting?

584


What is a shell script in windows?

586


What is the best shell scripting language?

541


What is a command line shell?

565


What does the sh command do?

608


What is bash shell command?

562


How to set an array in linux?

598


How do I read a .sh file?

532


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

495