In a nested directory structure, which find command line option would be used to restrict the command to searching down a particular number of subdirectories?

A.

-dirmax

B.

-maxdepth

C.

-maxlevels

D.

-n

E.

-s

题解

「find」指令可以使用多种规则来寻找文件。

选项 A,「find」指令没有「-dirmax」这样的参数。

选项 B,「find」指令的「-maxdepth」可以指定要寻找路径的深度。

选项 C,「find」指令没有「-maxlevels」这样的参数。

选项 D,「find」指令没有「-n」这样的参数。

选项 E,「find」指令没有「-s」这样的参数。