I don't know if there's a command for this, but when I'm working in terminal, I often find myself moving a file to a directory, and then wanting to cd there. For example
mv Keasbey\ Nights /media/ipod/Music/Catch\ 22
cd /media/ipod/Music/Catch\ 22
It's a pain to have to type this second part all the time. Is there an easy way to do this automatically in bash? I know that
will take me to my last directory, but this isn't really what I'm looking for. In my example I haven't been to /media/ipod/Music/Catch\ 22 yet.