cp command examples
Copies my-script.c to my-program.c:
cp my-{script,program}.c
Copies script-V1.pl to script-v1.pl:
cp script-{V,v}1.pl
Copies script1.pl to script-v1.pl:
cp script-{,v}1.pl
Copies messate.txt to original-message.txt:
cp {,original-}message.txt
Copies original-message.txt to message.txt:
cp {original-,}message.txt
NOTE: Those command line ideas work with the mv
command as well.