nerdexam
LPI

101-400 · Question #120

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?

The correct answer is B. -maxdepth. See the full explanation below for the reasoning.

Question

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?

Options

  • A-dirmax
  • B-maxdepth
  • C-maxlevels
  • D-n
  • E-s

How the community answered

(62 responses)
  • A
    8% (5)
  • B
    71% (44)
  • C
    2% (1)
  • D
    15% (9)
  • E
    5% (3)

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice