Suggest a StoryDo you have a news tip? We would like to hear from you.

Command Line | Easily Switch Between Directories Using pushd and popd commands

Spread the love

pushd and popd commands become handy sometimes and make access to directories really quickly many times You can use pushd and popd commands in case you want to save a directory and want to get back to it later using popd. down there you will find a quick tutorial showing instructions for using pushd and popd commands, also i will type same instructions in this post.

Open terminal

To save current directory path type

pushd .

To get back to directory you saved type


Spread the love

Leave a Reply