Question: What is the difference between a shell variable that is exported and the one that is not exported?
Answer: 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.
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. Source: CoolInterview.com
Rules to Post Answers in CoolInterview.com:- There should not be any Spelling Mistakes. There should not be any Gramatical Errors. Answers must not contain any bad words. Answers should not be the repeat of same answer, already approved. Answer should be complete in itself.
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.