rename file linux shell script code example
Example 1: rename a file in linux
mv oldfile.txt newfile.txt
Example 2: bash rename file
mv oldname newname
Example 3: unix rename file
mv thirdfile file3
mv oldfile.txt newfile.txt
mv oldname newname
mv thirdfile file3