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