Mission 52

Journal windows

Read only the last few simulated journal lines.

Text and logs
7 minutes Core Lesson 52 of 360
journalctltail
Lesson 52 of 360 0/360 lessons 0/17 missions Text and logs · 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.

Recent nginx journal

Run journalctl -u nginx -n 2.

journalctl -u nginx -n 2
Recent nginx errors

Run tail -n 2 /var/log/nginx-error.log.

tail -n 2 /var/log/nginx-error.log
Recent ssh journal

Run journalctl -u ssh -n 2.

journalctl -u ssh -n 2
Lesson support

What to notice while you play.

Objective

Use -n style journal review in the simulator.

Hint

Run journalctl -u nginx -n 2.

Why it matters

Small windows reduce noise during incident triage.

Common mistakes
  • Reading too much and losing the signal.
  • Checking the wrong service journal.
Reference

Commands in this lesson.

journalctl -u <service>

Read simulated service journal entries.