pushd several pathnames, so my
dirs stack has multiple stack frames.
Now I would like to empty the stack, without changing my current directory. I wonder how to do that? Thanks.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
$ pushd Devel/ ~/Devel ~ $ dirs -c $ dirs ~/Devel $ pwd /home/murphy/Devel