This question already has an answer here:
I occasionally need to run a command such as:
mv "very-long-file-name.x" "very-long-file-name.y"
I would like to achieve this without repeating the very long file name twice...
I know how to do this by passing just "very-long-file-name" once to a bash script which would then use $1 ... but how can I do this without a script?