Sample Header Ad - 728x90

How do I use pushd and popd commands?

493 votes
11 answers
514330 views
What are the practical uses of both pushd and popd when there is an advantage of using these two commands over cd and cd -? **EDIT**: I'm looking for some practical examples of uses for both of these commands or reasons for keeping stack with directories (when you have tab completion, cd -, aliases for shortening cd .., etc.).
Asked by syntagma (12801 rep)
May 25, 2013, 05:41 PM
Last activity: Feb 21, 2023, 09:36 AM