COHERENT manpages

This page displays the COHERENT manpage for pushd [Push an item onto the directory stack].

List of available manpages
Index


pushd -- Command

Push an item onto the directory stack
pushd [directory0 ... directoryN]

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  pushd pushes directory1 through  directoryN onto the directory
stack, and changes the current  directory to the last directory pushed.  If
called without  an argument, it transposes the last  two directories on the
directory stack.

See Also

commands,
dirs,
popd,
sh