Mission 04

Command history

Run a few safe commands, review history, and clear the display without resetting state.

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

Understand the difference between clearing the screen and resetting the lab.

Hint

Run echo training first so history has something to show.

Why it matters

History can help repeat safe commands, but it can also reveal pasted secrets in real shells.

Common mistakes
  • Thinking clear deletes command history.
  • Putting secrets into shell commands.
Reference

Commands in this lesson.

echo <text>

Print text or write safe lab notes with >.

history

Show recent simulated commands.

clear

Clear terminal output.