cd -” works, it will call $OLDPWD i.e. pathname of the previous working directory.