News for hackers. Stuff that matters.
Re:OS X Command Line Utilities by sigterm on Thursday May 15, 2014 @03:38AM (#7748234)
uhh... I have known pushd and popd for quite a long time, but never realized that pushd can be used in place of cd. So what I have been doing all the time is:

pushd .

cd some_dir

Re:OS X Command Line Utilities by pling on Thursday May 15, 2014 @03:52AM (#7748275)
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.