nerdexam
LPI

101-500 · 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. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

GNU and Unix Commands

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

(36 responses)
  • B
    89% (32)
  • C
    3% (1)
  • D
    6% (2)
  • E
    3% (1)

Explanation

You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

Topics

#which command#PATH variable#executable search#command location

Community Discussion

No community discussion yet for this question.

Full 101-500 Practice