Mission 53

Kernel log basics

Inspect simulated kernel messages for mount and network clues.

Text and logs
7 minutes Core Lesson 53 of 360
headgreptail
Lesson 53 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.

Read start

Run head -n 2 /var/log/kern.log.

head -n 2 /var/log/kern.log
Search mount

Run grep mount /var/log/kern.log.

grep mount /var/log/kern.log
Read end

Run tail -n 2 /var/log/kern.log.

tail -n 2 /var/log/kern.log
Lesson support

What to notice while you play.

Objective

Practice reading low-level log text.

Hint

Search for mount in kern.log.

Why it matters

Kernel messages can explain storage and network symptoms.

Common mistakes
  • Treating every kernel line as an emergency.
  • Ignoring timestamps.
Reference

Commands in this lesson.

head|tail [-n N] <file>

Read the beginning or end of a file.

grep [-i] <text> <file>

Find literal text inside a file.