How to Rename Files in Linux

The following syntax is used to rename files with mv command:

mv (option) filename1.ext filename2.ext

filename1.ext” is the original file, “old” name of the file, and

filename2.ext” is the new name.