linux change name file code example
Example 1: linux change file name
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