Server Administration

Which environment variable lists the directories a shell searches for executable programs?

Show the answer

Correct answerD. PATH

AWhy not this: PWD identifies the current working directory, not the executable search directories.

BWhy not this: HOME identifies the user's home directory, not the executable search directories.

CWhy not this: TEMP identifies a location for temporary files, not executable search directories.

DWhy this is right: PATH lists the directories searched when resolving executable names.

PATH lists directories searched for executable programs. PWD identifies the current working directory, not the executable search directories.