Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / seshadri sethi

The Shell variable which is exported would available to all
the programs outside the Shell also. And the shell variable
which is not exported, would available for that shell or for
the shell program only, in which the variable is declared.



Export LANG=C
will make the variable LANG the global variable, put it into
the global environment. All other processes can use it.

LANG=C
will change the value only in the current script.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the command to find out users on the system?

1015


is this growing field and what is average package in this?

2343


What is the use of break command?

1163


Is shell scripting useful?

1100


What is path variable bash?

1090


How do you know which shell I am using?

1087


How do I open the shell in cmd?

1208


How do you find out What is your shell?

1099


What are the different types of shell scripting?

1172


How can I set the default rwx permission to all users on every file which is created in the current shell?

1472


What is scripting used for?

1092


Please give me example of " at command , contrab command " how to use

2841


How important is shell scripting?

1080


What lives in a shell?

1007


Write the syntax for "if" conditionals in linux?

1161