Forrest logo
back to the dmesg tool

dmesg:tldr:509e4

dmesg: Colorize output (available in kernels 3.5.0 and newer).
$ dmesg -L
try on your machine

The command "dmesg -L" is used to display the kernel ring buffer messages with the added information of having the output in a human-readable format. Here's a breakdown of the command:

  • "dmesg" stands for "display message" and is a command-line utility in Linux-based operating systems that retrieves and prints kernel ring buffer messages. The kernel ring buffer is a temporary data structure that stores kernel messages, including boot-time messages, hardware-related messages, and system error messages.

  • The "-L" option is an additional parameter that modifies the output format of the "dmesg" command. It stands for "--li

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