Mission 01

Navigation

Map the training server, learn where you are, and move through directories.

Terminal basics
8 minutes Beginner Lesson 1 of 360
pwdlscdcat
Lesson 1 of 360 0/360 lessons 0/17 missions Terminal basics · 8 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 8 minutes

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

Print your location

Run pwd to see the current directory.

pwd
List the server root

Run ls / to see the top-level lab folders.

ls /
Read the hostname

Run cat /etc/hostname.

cat /etc/hostname
Lesson support

What to notice while you play.

Objective

Understand where commands are running before changing anything.

Hint

Start with pwd, then compare ls with ls /.

Why it matters

Good operators orient themselves before they edit, delete, or restart anything.

Common mistakes
  • Confusing /home/learner with the server root.
  • Assuming relative paths start at /.
Reference

Commands in this lesson.

pwd

Print the current working directory.

ls [-la] [path]

List lab files and folders.

cd [path]

Change directories inside the lab filesystem.

cat <file>

Print text file contents.

lsof

Show simulated files and sockets opened by services.