QuestionQ60

Essential Commands

Which variable specifies the directories that a Bash shell searches for executable commands?

  • A BASHEXEC
  • B BASHRC
  • C PATH
  • D EXECPATH
  • E PATHRC
Explanation

Bash searches the directories listed in the PATH environment variable to locate an executable command whose name does not include a slash. GNU Bash Reference Manual: Command Search and Execution

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!