Tim Cooke wrote:Is this in a script or manually?
If in a script then I'd expect you'll already have the target dir in a variable which can be reused for the 'cd' step.
If manually then good old cut'n'paste may be your friend.
Or did you have something else in mind?
Tim is not a script, but a manual command line.
I think a work around could be using mc.
But I am surprised i should copy and paste in linux, I do not want to touch the mouse, to point to the directory, this is not the bash
philosophy
after all should be a daily task doing
mv /directoryToMove /destinationDirectoryLongAdressDoNotWantToType
cd /destinationDirectoryLongAdressDoNotWantToType