Difference between local variable shell variable and environment variable
Answers
Answered by
0
Hey mate here is your answer
Environment variables such as $SHELL are valid systemwide. In a current Bash shell, $BASHpoints to the execution path of bash, whereas $SHELL points to the shell defined as default (which may be of the same value).
For an explanation of environment variables see Environment Variables in Ubuntu Help.
Similar questions
Math,
7 months ago
World Languages,
7 months ago