Re: How to create my own "pushd" command?



www <xsli2@xxxxxxxxx> wrote:
Our linux and the Cygwin on my PC do not offer pushd command.

I can't speak for Cygwin, but I've checked a number of shells on my
GNU/Linux system.

Provides pushd (and some friends): bash csh tcsh zsh

Does not provide pushd: dash ksh93 ksh rc sh

So if your shell doesn't have pushd, then maybe you might want to consider
switching to one that does provide it.

Chris
.