pushd popd dirs
Snippet
kitt decided around 12:55 on 11 February 2019 to publish this:
# push a directory onto the stack pushd {dir} # pop the last directory off the stack, change to the next directory in the stack popd # view the stack in a numbered list dirs -v # pull the nth directory out of the stack, put it at the top, and change to it pushd +n # remove the nth directory from the stack, don't change to it or anything popd +n
Add new comment