Mission 02

Paths and shortcuts

Practice absolute paths, relative paths, dot, dot-dot, and home shortcuts.

Terminal basics
0/25 lessons 0/7 missions
Ops lab terminal Browser only
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.

Objective

Learn how the shell resolves common path shortcuts.

Hint

Use cd projects, cd .., and cd ~ as separate moves.

Why it matters

Path mistakes are a common cause of editing or deleting the wrong file.

Common mistakes
  • 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.