nerdexam
LPI

117-101 · Question #189

You are looking for an executable file foo. Select the command that 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

You are looking for an executable file foo. Select the command that would search for foo within directories set in the shell variable, PATH.

Options

  • Alocate
  • Bwhich
  • Cfind
  • Dquery
  • Ewhereis

How the community answered

(32 responses)
  • A
    3% (1)
  • B
    75% (24)
  • C
    6% (2)
  • D
    3% (1)
  • E
    13% (4)

Community Discussion

No community discussion yet for this question.

Full 117-101 Practice