CompTIA Linux+ Powered by LPI (LX0-103) — Question 45
Which variable defines the directories in which a Bash shell searches for executable commands?
Answer options
- A. BASHEXEC
- B. BASHRC
- C. PATH
- D. EXECPATH
- E. PATHRC
Correct answer: C
Explanation
The correct answer is C, PATH, as it holds the directories the shell scans for executable commands. The other options, while related to Bash configuration and execution, do not perform this specific function in the shell environment.