Beginner Linux · 20 min
Getting around
Learn where you are, what is nearby, and how to move between folders.
Learn the commands
Commands to know
Everything you need for this lesson is here. Use the full guide only when you want more options and examples.
Print the folder you are currently in.
- Syntax
- pwd
- Example
- pwd
Tip: Run this before changing folders when you are unsure where you are.
List the files and folders in a location.
- Syntax
- ls [path]
- Example
- ls -la
Tip: Use -la to include hidden files and useful details.
Move your shell into another folder.
- Syntax
- cd <path>
- Example
- cd Documents
Tip: Use cd .. to move up one folder.
Try it
Practice exercise
Find your current folder, list its contents, then move into a subfolder.
Open playgroundYour progress
Mark this lesson when you feel ready to move on.
Your progress is saved on this device. Log in to back it up and continue anywhere.