
Let's say you want to rename index.html to web_page.html. -i, -interactive: Prompts before renaming the file.-v, -verbose: Explains what is being done.

Here are some of the options that can come in handy with the mv command: The mv command follows this syntax: mv source_file destination_file You can use the built-in Linux command mv to rename files. In this tutorial, you will see how you can rename files in the Linux command line using the built-in mv command.

This is in part because you can rename files in bulk or even schedule the scripts to rename files at a certain point in time. Renaming files is a very common operation whether you are using the command line or the GUI.Ĭompared to the GUI (or Graphical User Interface), the CLI is especially powerful.
