nerdexam
LPI

117-010 · Question #19

Which of the following commands will create an archive file, named backup.tar, containing all the files from the directory /home?

The correct answer is E. tar -cf backup.tar /home. See the full explanation below for the reasoning.

Question

Which of the following commands will create an archive file, named backup.tar, containing all the files from the directory /home?

Options

  • Atar /home backup.tar
  • Btar -cf /home backup.tar
  • Ctar -xf /home backup.tar
  • Dtar -xf backup.tar /home
  • Etar -cf backup.tar /home

How the community answered

(41 responses)
  • A
    10% (4)
  • C
    5% (2)
  • D
    2% (1)
  • E
    83% (34)

Community Discussion

No community discussion yet for this question.

Full 117-010 Practice