Mission 81

Service files

Inspect simulated unit files and journals together.

Server operations
8 minutes Admin Lesson 81 of 360
systemctlcatjournalctl
Lesson 81 of 360 0/360 lessons 0/17 missions Server operations · 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.

Show unit

Run systemctl cat nginx.

systemctl cat nginx
Read unit file

Run cat /etc/systemd/system/nginx.service.

cat /etc/systemd/system/nginx.service
Read journal

Run journalctl -u nginx.

journalctl -u nginx
Lesson support

What to notice while you play.

Objective

Connect service status, unit definition, and logs.

Hint

Use systemctl cat nginx.

Why it matters

A complete service review includes config and runtime evidence.

Common mistakes
  • Only checking status.
  • Ignoring the unit file when behavior is surprising.
Reference

Commands in this lesson.

cat <file>

Print text file contents.

systemctl status <service>

Inspect simulated service status.

journalctl -u <service>

Read simulated service journal entries.