educative.io

Educative

What is meant by shell environment variable here?

what is meant by shell environment variable here as we need to explicitly provide an environment variable to a container so this should not even count until we give in variable in environment file why this is given in list and what is the context
??

Type your question above this line.

Course: https://www.educative.io/collection/4581872065576960/4866501796429824
Lesson: https://www.educative.io/collection/page/4581872065576960/4866501796429824/5903806929829888

Hi Rajat,
Environment variable and shell variable are two different things. A shell variable is a variable that is generally available to the current shell. But the environment variable is available system-wide and can be used by other applications on the same system.
The shell variable in the list is specified in the lesson to define the priority/ precedence of environment variables when they are used in more than one file. Then that variable will be used which is specified in the current shell.