Mission 28

Environment variables

Inspect a simulated environment without exposing real browser or server secrets.

Terminal basics
7 minutes Core Lesson 28 of 360
envechopwd
Lesson 28 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.

Print lab environment

Run env.

env
Print a safe marker

Run echo PATH is fake.

echo PATH is fake
Confirm location

Run pwd.

pwd
Lesson support

What to notice while you play.

Objective

Recognize common environment names and why they matter.

Hint

Run env and look for HOME, SHELL, and PATH.

Why it matters

Many CLI tools read configuration from the environment.

Common mistakes
  • Printing real secrets in a terminal.
  • Assuming environment values are the same on every machine.
Reference

Commands in this lesson.

pwd

Print the current working directory.

env

Inspect a simulated environment.

echo <text>

Print text or write lab notes with >.