Forrest logo
back to the mv tool

mv:ai:2cb07

how do i rename a file in the terminal
$ mv ${old_${filename}} ${new_${filename}}
try on your machine

This command is used to rename a file or directory in the terminal. You need to replace with the current name of the file you want to rename, and with the desired new name of the file.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • how do i rename a file in the terminal?
back to the mv tool