nerdexam
CompTIA

XK0-001 · Question #74

XK0-001 Question #74: Real Exam Question with Answer & Explanation

The correct answer is C. ls /tmp >> DoNotCreateBackup. See the full explanation below for the reasoning.

Question

An administrator needs to append the list of files in the /tmp directory to the existing file "DoNotCreateBackup". What command would accomplish this goal?

Options

  • Als /tmp || DoNotCreateBackup
  • Bls /tmp && DoNotCreateBackup
  • Cls /tmp >> DoNotCreateBackup
  • Dls /tmp :: DoNotCreateBackup

Community Discussion

No community discussion yet for this question.

Full XK0-001 Practice