Multiple choice technology operating systems

How do you rename file "new" in file "old"?

  1. mv new old

  2. none

  3. cp new old

  4. rm new old

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The mv command in Unix/Linux renames files. 'mv new old' renames the file named 'new' to 'old'. The cp command copies files, rm removes files, and there is no dedicated rename command - mv serves both move and rename purposes.