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

Answer Posted / shimpi

Exported variable is like GLOBAL variable which can be used
across teh scripts and UNIX servers.
Whereas Unexported variable can be the used within the
defined script itself.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which scripting language is best for automation?

536


What is the use of break command?

590


What is a shell made of?

557


How to pass an argument to a script?

594


What language is used in terminal?

558






Why is a script important?

563


Write a shell script that adds two numbers if provided as the command line argument and if the two numbers are not entered throws an error message.

801


What is the first line in a shell script?

557


How will you emulate wc –l using awk?

913


Is powershell a language?

561


What is the default shell of solaris?

574


Why are shell scripts used?

624


What are the 3 standard streams in linux?

572


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

495


What does sh mean?

619