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
What is the command to find out users on the system?
is this growing field and what is average package in this?
What is the use of break command?
Is shell scripting useful?
What is path variable bash?
How do you know which shell I am using?
How do I open the shell in cmd?
How do you find out What is your shell?
What are the different types of shell scripting?
How can I set the default rwx permission to all users on every file which is created in the current shell?
What is scripting used for?
Please give me example of " at command , contrab command " how to use
How important is shell scripting?
What lives in a shell?
Write the syntax for "if" conditionals in linux?