Mission 32

Safe movement

Move between root, etc, and home while checking location.

Terminal basics
7 minutes Core Lesson 32 of 360
cdpwd
Lesson 32 of 360 0/360 lessons 0/17 missions Terminal basics · 7 minutes
0%
Continue View profile
Ops lab terminal Training lab
New learnerrank 0XP 0%complete
learner@clairos:/home/learner $ Unix ops lab: type a command, press Enter
Instructions 7 minutes

Click any instruction for the command details, the why, and the common mistake to avoid.

Enter etc

Run cd /etc.

cd /etc
Check etc path

Run pwd.

pwd
Return home

Run cd ~.

cd ~
Lesson support

What to notice while you play.

Objective

Build a habit of checking location after movement.

Hint

Use cd /etc, pwd, then cd ~.

Why it matters

Most file mistakes begin with being in the wrong directory.

Common mistakes
  • Running a command after cd without checking pwd.
  • Confusing / and ~.
Reference

Commands in this lesson.

pwd

Print the current working directory.

cd [path]

Change directories inside the lab filesystem.