Multiple choice

What command do you use to rename a file and move the file from one directory to another

  1. mv

  2. dd

  3. ls

  4. cp

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

The mv command is used to move files or directories, which effectively renames them if the destination path is different or the filename is changed.