nerdexam
LPI

101-400 · 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

(26 responses)
  • A
    15% (4)
  • B
    73% (19)
  • C
    4% (1)
  • D
    8% (2)

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice