This question already has an answer here:
I often find myself copy-pasting long path in order to create a copy of a file
cp /path/to/file/file1 /path/to/file/file1.bkp
Is there an alternative utility that will NOT require me to type the path/to/file twice? Something like -
nameOfExecutible /path/to/file/file1 'bkp'
Note: I don't want to do a
file1s parent directory.