rename set of files terminal linux

C++
mv oldnamefile1 newnamefile1cd /home/user/docs/files
mv file1.txt file2.txt$ mmv a\* b\#1
Source

Also in C++: