rename command in linux terminal code example
Example 1: bash rename file
mv oldname newname
Example 2: rename command ubuntu
cd /home/user/docs/files
mv file1.txt file2.txt
mv oldname newname
cd /home/user/docs/files
mv file1.txt file2.txt