Computer Science, asked by XAkashDubeyX100, 1 year ago

Difference between local variable shell variable and environment variable

Answers

Answered by sarthakshree
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