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

What exactly is a shell?

602


How to use arguments in a script?

579


What is the difference between bash and shell?

641


Why should we use shell scripts?

590


What is the significance of $#?

589






How many fields are present in a crontab file and what does each field specify?

580


What is a shell in operating system?

588


Explain about non-login shell files?

692


How will you emulate wc –l using awk?

907


What is scripting autism?

700


What shell is bin sh?

532


What is the first line of a shell script called?

571


What does $@ mean bash?

664


one folder contains lot of students name but I want to fetch hello with every student name individually using shell script

512


What are scripts in psychology?

592