All tags
dmesg
- Tip
sudo dmesg -CDmesg -C empties the kernel buffer so a test starts from nothingClear old messages, reproduce a problem and read only what it produced.1 Dec 2026 - Tip
sudo dmesg -xDmesg -x labels every line with its facility and levelSee how serious each kernel message is, right in front of the line.1 Dec 2026 - Tip
sudo dmesg -r > kernel.rawDmesg -F reads a saved kernel log from a file, with the usual filtersSave raw kernel messages on one machine and study them on another.1 Dec 2026 - Tip
sudo dmesg -n 4Dmesg -n stops kernel messages from flooding the consoleKeep kernel messages off your console screen while they still land in the log.27 Nov 2026 - Tip
journalctl -k -b -1journalctl -k -b -1 reads the kernel log of the previous bootShows kernel messages from the previous boot, which dmesg has already lost.24 Nov 2026 - Tip
sudo dmesg -T | tail -30Dmesg -T gives kernel messages readable timestampsShows kernel messages with real clock times instead of seconds since boot.19 Nov 2026
Nothing matches.