how to rename file using terminal code example
Example 1: how to rename a file in terminal
mv "old location" "new location"
mv /home/user/my_static /home/user/static
mv "file1.ext" "file2.ext"
Example 2: change file name in terminal
rename 's/.prog/.prg/' *.prog