LX0-103 Exam QuestionsBrowse all questions from this exam

LX0-103 Exam - Question 34


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?

Show Answer
Correct Answer: B

To restrict the 'find' command to search down a particular number of subdirectories in a nested directory structure, the correct option to use is '-maxdepth'. This option limits the depth of the directory tree that the command will search, thus controlling how many levels of subdirectories will be included in the search process.

Discussion

1 comment
Sign in to comment
linux_adminOption: B
Feb 12, 2023

The correct option is "-maxdepth".