nerdexam
CompTIA

XK0-001 · Question #264

Which of the following commands should be used to move the file named John1 from the directory /home/j/john/temp to /home/j/john/save?

The correct answer is C. mv /home/j/john/temp/John1 /home/j/john/save. See the full explanation below for the reasoning.

Question

Which of the following commands should be used to move the file named John1 from the directory /home/j/john/temp to /home/j/john/save?

Options

  • Amv /home/j/john/temp/john1 /home/j/john/save
  • Bmv /home/j/john/save /home/j/john/temp/John1
  • Cmv /home/j/john/temp/John1 /home/j/john/save
  • Dmv /home/j/john/save/john1 /home/j/john/temp

How the community answered

(23 responses)
  • A
    4% (1)
  • B
    13% (3)
  • C
    78% (18)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full XK0-001 Practice