How to rename "FILE1" to "FILE2" ?
-
ren FILE1 FILE2 - i
-
ren FILE1 FILE2
-
cp FILE1 FILE2
-
mv FILE1 FILE2
D
Correct answer
Explanation
In Unix/Linux, the 'mv' command both moves and renames files. 'mv FILE1 FILE2' renames FILE1 to FILE2 (or moves it to FILE2). 'ren' is a DOS/Windows command, not Unix. 'cp' copies files rather than renaming them. The '-i' flag (for interactive prompting) is not required for basic renaming.