This could be quite a simple one, but I can't find any answer for it.
If I am in a terminal and use the
cp command, is there a way of instantly
cding to the target directory? For example, is there some equivalent to
cp foo/file.ext ../bar/subdir/; cd ../bar/subdir/ that doesn't require retyping the path to the target folder?