Multiple choice technology operating systems

Which command to rename the directory

  1. rename

  2. rn

  3. mv

  4. other

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

mv (move) is used to both move and rename files and directories in Unix. There is no 'rename' or 'rn' command in standard Unix - mv serves this purpose. The same command moves files to different locations.