how to renamefiles in linux code example
Example 1: rename a file in linux
mv oldfile.txt newfile.txt
Example 2: rename command ubuntu
cd /home/user/docs/files
mv file1.txt file2.txt
mv oldfile.txt newfile.txt
cd /home/user/docs/files
mv file1.txt file2.txt