Understand Bash Environment Variables With This Deep Dive
Now there is a simple explanation comparing variables with environment variables showing that environment variables are available to sub shells but that is only half the story. When a variable is exported to become an environment variable it becomes available to the shell, to sub shells and every command in the shell. We can show this through use of the EDIR variable but also creating a simple c program to make use of environment variables.
#Bash #Linux #C-programing #Variables #Environment
Additionally you can find my video courses on Pluralsight: http://pluralsight.com/training/Authors/Details/andrew-mallett and take time to see my own site http://www.theurbanpenguin.com
Comments are closed.