change name on file 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
Example 3: rename set of files terminal linux
$ mmv a\* b\#1
mv oldfile.txt newfile.txt
cd /home/user/docs/files
mv file1.txt file2.txt
$ mmv a\* b\#1