how to get back quickly to directory with long path name
if I am in
and then do a "cd /root" real quick, how do I get back to where I was without typing in that whole long path again? I can't use the bash history since I may have gotten there in many other ways other than a "cd /home/user1/asdfasdf/sdfsd/fdsfs/fsdf/sdfsdf/sdf".
I'm looking for a command like:
or something like that.