CompTIA Exam Questions

Select the command that would search for foo within directories set in the shell variable, PATH.

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

A.
locate

B.
which

C.
find

D.
query

E.
whereis