nerdexam
LPI

117-010 · Question #70

117-010 Question #70: Real Exam Question with Answer & Explanation

The correct answer is B. find /home -type f -name foo.txt | wc -l. See the full explanation below for the reasoning.

Question

Which command chain will count the number of regular files with the name of foo.txt within /home?

Options

  • Als -lR /home | grep foo.txt | wc -l
  • Bfind /home -type f -name foo.txt | wc -l
  • Cfind /home -name foo.txt -count
  • Dfind /home -name foo.txt | wc -l
  • Egrep -R foo.txt /home | wc -l

Community Discussion

No community discussion yet for this question.

Full 117-010 Practice