What is the purpose of using the 'cd -' command?

The cd - command is used to switch back to the previous directory you were in. When you execute this command, it takes you to the last directory you navigated from, allowing for quick toggling between two directories. This can be particularly useful when you need to switch back and forth between two locations in the file system.

0 Comments

no data
Be the first to share your comment!