Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question
In linux, the export command is used to add a variable to the list of the current process' environment variables (for example the shell's env variables, if shell is current process). Why is this useful?
Answer
So that any child process can also have access to that variable.

Question
In linux, the export command is used to add a variable to the list of the current process' environment variables (for example the shell's env variables, if shell is current process). Why is this useful?
Answer
?

Question
In linux, the export command is used to add a variable to the list of the current process' environment variables (for example the shell's env variables, if shell is current process). Why is this useful?
Answer
So that any child process can also have access to that variable.
If you want to change selection, open document below and click on "Move attachment"

9. Processes, Environment Variables
You will see that X is not set. The reason is that the variable was not export ed as an environment variable and hence was not inherited. Now type exit which breaks to the parent process. Then <span>export X bash echo $X You will see that the new bash now knows about X . Above we are setting an arbitrary variable for our own use. bash (and many other programs) automatically set many of th

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.