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