Learn how the shell resolves common path shortcuts.
Mission 02
Paths and shortcuts
Practice absolute paths, relative paths, dot, dot-dot, and home shortcuts.
Terminal basics
0/25 lessons
0/7 missions
New learnerrank
0XP
0%complete
learner@clairos:/home/learner $
Unix ops lab: type a command, press Enter
Lesson support
What to notice while you play.
Use cd projects, cd .., and cd ~ as separate moves.
Path mistakes are a common cause of editing or deleting the wrong file.
- Typing cd /home when you meant cd ~.
- Using .. repeatedly without checking pwd.
Reference
Commands in this lesson.
pwd
Print the current working directory.
ls [-la] [path]
List fake files and folders.
cd [path]
Change directories inside the fake filesystem.