how to rename files in terminal code example
Example 1: how to rename a file in ubuntu using terminal
mv oldnamefile1 newnamefile1
Example 2: change file name in terminal
mv oldfile.txt newfile.txt
Example 3: change file name in terminal
rename 's/.prog/.prg/' *.prog