๐ŸŽ 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

Nohup
A command that runs a process immune to hangup signals, allowing it to continue after the terminal session ends.
SELinux
Security-Enhanced Linux - a mandatory access control system that confines programs to minimum required privileges beyond standard file permissions.
Systemd Timer
A systemd unit that triggers services on a schedule or at specific events, serving as a modern alternative to cron jobs.
File Permissions
A security mechanism that controls who can read, write, or execute files and directories in Unix-like systems.
Daemon
A background process that runs continuously on a system, typically providing services like web serving or logging.
Ulimit
A command that sets or displays resource limits for user processes, such as maximum open files or memory usage.
View All Linux Terms โ†’