LPI
117-010 · Question #54
Which of the following commands will output a list of all of the file names, under your home directory and all subdirectories, which have file names ending with .pdf?
The correct answer is D. find ~ -name '*.pdf'. See the full explanation below for the reasoning.
Question
Which of the following commands will output a list of all of the file names, under your home directory and all subdirectories, which have file names ending with .pdf?
Options
- Asearch .pdf
- Bls -name -R '*.pdf'
- Cfind /home/*.pdf
- Dfind ~ -name '*.pdf'
How the community answered
(42 responses)- A5% (2)
- B2% (1)
- C10% (4)
- D83% (35)
Community Discussion
No community discussion yet for this question.