I've been using Unix machines and pushd since the mid 1990s and just learned this as well. All those wasted years...
Some examples here:
http://en.wikipedia.org/wiki/Pushd_and_popd
Edit: change to desktop Wikipedia URL.
Some examples here:
http://en.wikipedia.org/wiki/Pushd_and_popd
Edit: change to desktop Wikipedia URL.
pushd .
cd some_dir