nerdexam
LPI

117-101 · Question #269

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

(50 responses)
  • A
    10% (5)
  • B
    80% (40)
  • C
    2% (1)
  • D
    2% (1)
  • E
    6% (3)

Community Discussion

No community discussion yet for this question.

Full 117-101 Practice