nerdexam
LPI

101-400 · 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

(48 responses)
  • A
    4% (2)
  • B
    75% (36)
  • C
    4% (2)
  • D
    2% (1)
  • E
    15% (7)

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice