Which command chain will count the number of regular files with the name of foo.txt 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
Correct Answer:
Verified
Q127: Which of the following commands preloads and
Q128: Which of the following commands will output
Q129: The script, script.sh, consists of the following
Q130: Which of the following commands redirects the
Q131: Which character starts a comment line in
Q133: Which of the following keywords can be
Q134: When trying to unmount a device it
Q135: Which command is used to set restrictions
Q136: Which of the following programs can be
Q137: Which of the following tools used for
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents