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?
A.
cp /a/* .
B.
mv -f /A/* .
C.
mv -Rf /a/* .
D.
cp -f /a/* ..
E.
cp -rf /A/* /b/
Explanation/Reference:
Files and folders are case-sensitive, so you can immediately dismiss all lines with "a" instead of "A", and since you need to move instead of copy, that leaves only B as the correct answer.