🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

Linux Intermediate

What is Dmesg?

A command that displays kernel ring buffer messages, useful for diagnosing hardware and driver issues.

Dmesg shows messages from the kernel, including hardware detection, driver loading, and system errors. Useful for diagnosing boot problems, USB device issues, disk errors, and network driver problems.

Common usage: dmesg | tail -50 (recent messages), dmesg -T (human-readable timestamps), dmesg -l err,warn (filter by level). Kernel messages are also accessible via journalctl -k in systemd-based systems.

Related Terms

Grep
A command-line utility for searching plain-text data for lines matching a regular expression pattern.
Journald
The systemd journal daemon that collects and stores log data from services, the kernel, and boot messages in a structured binary format.
GRUB
The Grand Unified Bootloader, a program that loads the operating system kernel into memory during system startup.
Bash Script
A text file containing a series of shell commands that are executed sequentially by the Bash interpreter.
Network Namespace
A Linux kernel feature that provides isolated network stacks with independent interfaces, routing tables, and firewall rules.
Firewalld
A dynamic firewall management tool for Linux that provides a D-Bus interface for managing firewall rules with zones.
View All Linux Terms →