The dmesg command is used to display the messages from the kernel that are stored in a ring buffer. A ring buffer is a fixed-size data structure that overwrites the oldest entries when it is full. Therefore, the dmesg command might not display older information because it was overwritten by newer information. The dmesg command is useful for troubleshooting system issues and checking hardware information. The dmesg command is not used to trace the execution of a command, send messages to user sessions, or output the system journal. Those functions are performed by other commands such as strace, write, and journalctl respectively. Reference: : [dmesg] : [Ring buffer] : [strace] : [write (Unix)] : [journalctl]4)