nerdexam
CompTIA

LX0-101 · Question #433

As root you have navigated to directory /B. You wish to move all of the files and directories from directory /A to directory /B. Which of the following options would be the most appropriate command…

The correct answer is B. mv -f /A/*. See the full explanation below for the reasoning.

Question

As root you have navigated to directory /B. You wish to move all of the files and directories from directory /A to directory /B. Which of the following options would be the most appropriate command line to execute this task?

Options

  • Acp /a/* .
  • Bmv -f /A/* .
  • Cmv -Rf/a/* .
  • Dcp -f /a/* ..
  • Ecp -rf /A/* /b/

How the community answered

(48 responses)
  • A
    10% (5)
  • B
    77% (37)
  • C
    4% (2)
  • D
    2% (1)
  • E
    6% (3)

Community Discussion

No community discussion yet for this question.

Full LX0-101 Practice