http://goo.gl/EmKxy0

Home > ASE, Developement, Start Sybase, UNIX > “Pushd, popd and cd -” unix commands

“Pushd, popd and cd -” unix commands

pushd:- This command acts similar to “cd” command.

popd:- This command is used to return to previous directory.

cd -:- This command is also used to return to previous directory.

NOTE Both “popd” and “cd -” works similar but they differ primarily that “cd -” acts like a loop i.e.

                                                     cd -                  cd -       cd -      cd -

Directory X ——> Directory A ——–> Directory B ——-> Directory A ——–> B ——->A —–> B

However,

                                                popd       popd

Directory X ——> Directory A —> Directory B ——-> A———> X

Check the Sybase Wiki @ sybasewiki.com
Categories: ASE, Developement, Start Sybase, UNIX Tags: ,
  1. No comments yet.
  1. No trackbacks yet.