Beginner Linux & Shell Scripting
Q13 / 100

What is the purpose of an environment variable like "$PATH"?

Correct! Well done.

Incorrect.

The correct answer is B) It contains a list of directories that the shell searches when looking for executable commands

B

Correct Answer

It contains a list of directories that the shell searches when looking for executable commands

Explanation

When you type a command, the shell searches each directory listed in $PATH (in order) for an executable with that name.

Progress
13/100