how to change file name in terminal linux code example
Example 1: rename command ubuntu
cd /home/user/docs/files
mv file1.txt file2.txt
Example 2: rename file linux
mv (option) filename1.ext filename2.ext
cd /home/user/docs/files
mv file1.txt file2.txt
mv (option) filename1.ext filename2.ext