Mission 85

Log disk review

Estimate simulated log size and list log files.

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

Size logs

Run du -sh /var/log.

du -sh /var/log
Find logs

Run find /var/log -name log.

find /var/log -name log
Tail access log

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

tail -n 2 /var/log/nginx-access.log
Lesson support

What to notice while you play.

Objective

Balance disk review with evidence preservation.

Hint

Use du on /var/log, then find log files.

Why it matters

Deleting logs blindly can erase useful diagnostic data.

Common mistakes
  • Deleting logs before reading them.
  • Ignoring which log is growing.
Reference

Commands in this lesson.

find [path] [-name text]

Search lab filesystem paths.