Which of the following commands can be used to search for the executable file foo when it has been placed in a directory not included in $PATH?
A.
apropos
B.
which
C.
find
D.
query
E.
whereis
题解
选项 A,「apropos」指令可以搜索手册(manual page)的名称和描述。
选项 B,「which」指令可以显示终端机指令输入后会运行的文件路径。
选项 C,「find」指令可以搜索文件,为正确答案。
选项 D,没有「query」指令。
选项 E,「whereis」指令可以找出所有可执行文件、源代码、手册的所在路径。
