COHERENT manpages

This page displays the COHERENT manpage for popd [Pop an item from the directory stack].

List of available manpages
Index


popd -- Command

Pop an item from the directory stack
popd [item ... ]

The COHERENT shell sh maintains an internal ``directory stack'', which is a
stack of  names of directories.  You can manipulate  this stack should you,
for  any reason,  wish  to traverse  a  number of  directories quickly  and
efficiently.

The command popd pops an item  from the directory stack.  If called without
an argument,  it pops the  last item.  Otherwise,  it pops the  given stack
items in  the order requested,  where each item  is a positive  integer and
zero is the top of the stack.

See Also

commands,
dirs,
pushd,
sh