How Do I Navigate to a Folder in Linux Terminal?
Contents

How do I navigate to a folder in Terminal?

To navigate to your home directory, use “cd” or “cd ~” To navigate up one directory level, use “cd ..” To navigate to the previous directory (or back), use “cd -” To navigate into the root directory, use “cd /”

How do I navigate to a folder where I saved a file?

When you start the Command Prompt, you’ll start in your User folder. Type dir /p and press ↵ Enter . This will display the contents of the current directory.

Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest