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

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

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

A.
find /home -name foo.txt -count

B.
find /home -name foo.txt | wc -l

C.
find /home -type f -name foo.txt | wc -l

D.
ls -lR /home | grep foo.txt | wc -l

E.
grep -R foo.txt /home | wc -l



Leave a Reply 0

Your email address will not be published. Required fields are marked *