how to change file name from terminal code example Example: change file name in terminal rename 's/.prog/.prg/' *.prog