Forrest logo
back to the dmesg tool

dmesg:tldr:e0858

dmesg: Show kernel error messages.
$ dmesg --level err
try on your machine

The command "dmesg --level err" is used to display kernel error messages from the last boot in a Linux system.

Here is a breakdown of each component:

  • "dmesg" is a command-line utility in Linux used to display the kernel ring buffer, which contains important messages from the kernel.
  • "--level err" is an option that filters the output of dmesg to only show error-level messages. In this case, it only displays kernel error messages.

By running this command, you can get a list of error messages that occurred during the last boot, which can be helpful for troubleshooting and diagnosing issues in the system.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the dmesg tool