rename a file in termianl 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