Skip to content

Linux – Switch back to the last working directory

In this post, I will share a useful tip to switch back to the last working directory. Using this tip you can navigate back to the last working directory. You don’t need to type the long directory path or copy-paste it anymore.

Switch back to the last working directory

$ cd -

Example:

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments