๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout 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

Journald
The systemd journal daemon that collects and stores log data from services, the kernel, and boot messages in a structured binary format.
Wget
A command-line utility for downloading files from the web, supporting HTTP, HTTPS, and FTP protocols.
Sysfs (/sys)
A virtual filesystem that exports information about kernel subsystems, hardware devices, and device drivers in a structured hierarchy.
Iptables
The traditional Linux firewall tool that filters network packets using configurable chains of rules organized in tables.
Cron Job
A scheduled task in Unix-like systems that runs automatically at specified times or intervals.
Procfs (/proc)
A virtual filesystem in Linux that provides an interface to kernel data structures, exposing process and system information as files.
View All Linux Terms โ†’