QuestionQ155
Essential CommandsWhich command chain will count the number of regular files named foo.txt located within /home?
- A ls -lR /home | grep foo.txt | wc -l
- B find /home -type f -name foo.txt | wc -l
- C find /home -name foo.txt -count
- D find /home -name foo.txt | wc -l
- E grep -R foo.txt /home | wc -l
Community Discussion