$
Linux Practice
Practice
Tutorials
English
한국어
日本語
中文
terminal
Welcome to Linux Practice Terminal!
Type "help" to see available commands.
user
@linux:
~
$
Advanced Navigation
Reset Lesson
Master cd - for toggling directories, complex relative paths, and absolute vs relative paths.
Step 1
Check your starting location with pwd.
Type: pwd
pwd
Step 2
Move into the documents directory.
Step 3
Go deeper into the project subdirectory.
Step 4
Jump to downloads using an absolute path.
Step 5
Use cd - to go back to the previous directory.
Step 6
Verify you're back in the project directory with pwd.
Step 7
Use cd - again to toggle back to downloads.
Step 8
Go up two directory levels using ../..
Step 9
Return to your home directory using cd ~ (or just cd).