exam questions

Exam 101-400 All Questions

View all questions & answers for the 101-400 exam

Exam 101-400 topic 3 question 4 discussion

Actual exam question from LPI's 101-400
Question #: 4
Topic #: 3
[All 101-400 Questions]

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
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Community vote distribution
C (100%)

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
DuboisNicolasDuclair
1 year, 4 months ago
Selected Answer: C
The `find` command line option used to restrict the command to searching down a particular number of subdirectories is: B. `-maxdepth` You can use the `-maxdepth` option followed by the number of levels to limit how deeply `find` will search within the directory structure. For example, to search only one level deep, you can use `-maxdepth 1`.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
DVA-C02
Warsaw, 1 minute ago