How to go to the previous directory?

QuestionsQuestions8 SkillsProBasic Files OperationsNov, 18 2025
0132

To go to the previous directory you were in, you can use the following command:

cd -

This command switches back to the last directory you were in before the current one.

0 Comments

no data
Be the first to share your comment!