how to rename a file in linux through terminal code example
Example 1: rename a file in linux
mv oldfile.txt newfile.txt
Example 2: unix rename file
mv thirdfile file3
Example 3: rename file linux
mv (option) filename1.ext filename2.ext
mv oldfile.txt newfile.txt
mv thirdfile file3
mv (option) filename1.ext filename2.ext