What is the difference between a shell variable that is exported and the one that is not exported?
A shell variable that is exported is available as part of the environment to any subseqent process forked by the shell that does the export. A shell variable that is not exported is, well, not...