nerdexam
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)
  • A
    5% (2)
  • B
    2% (1)
  • C
    10% (4)
  • D
    83% (35)

Community Discussion

No community discussion yet for this question.

Full 117-010 Practice