nerdexam
CompTIA

LX0-101 · Question #270

An administrator is looking for an executable file foo. Which of the following commands would search for foo within directories set in the shell variable, PATH?

The correct answer is B. which. See the full explanation below for the reasoning.

Question

An administrator is looking for an executable file foo. Which of the following commands would search for foo within directories set in the shell variable, PATH?

Options

  • Alocate
  • Bwhich
  • Cfind
  • Dquery
  • Ewhereis

How the community answered

(31 responses)
  • A
    3% (1)
  • B
    74% (23)
  • C
    6% (2)
  • D
    3% (1)
  • E
    13% (4)

Community Discussion

No community discussion yet for this question.

Full LX0-101 Practice