🖥️dmesg
➡️This is a command-line reference manual for commands and command combinations that you don’t use often enough to remember it. This cheatsheet explains the dmesg command with important options and switches using examples.
2 minute read
▁ ▂ ▃ ▄ ꧁ 🔴☠ COMMANDLINE-KUNGFU WITH CHEATSHEETS ☠🔴꧂▅ ▃ ▂ ▁
██████╗ ███╗ ███╗███████╗███████╗ ██████╗
██╔══██╗████╗ ████║██╔════╝██╔════╝██╔════╝
██║ ██║██╔████╔██║█████╗ ███████╗██║ ███╗
██║ ██║██║╚██╔╝██║██╔══╝ ╚════██║██║ ██║
██████╔╝██║ ╚═╝ ██║███████╗███████║╚██████╔╝
╚═════╝ ╚═╝ ╚═╝╚══════╝╚══════╝ ╚═════╝
# Clear dmesg Buffer Logs
dmesg -c
# Display the local time and the delta in human-readable format. Conversion to the local time could be inaccurate
dmesg -e
# Print human-readable timestamps.
# 27M ./Stuff
# 808K ./Configs
# 1.1M ./comemierda
# 232M .
dmesg -T
# Human-readable output (color + reltime)
dmesg -H
dmesg -w
# dmesg: follow/wait for new kernel messages
# follow/wait for new kernel messages similar to `tail -f` available since util-linux 2.22.
dmesg -wH
# Live dmesg output in human readable format (colors, timing)
dmesg -T | tail -n20
# Show the most recent 20 lines of dmesg with the times converted to local human readable times.
dmesg -T
# Newer versions of dmesg on Linux have this nice -T option for printing the local time instead of epoch time for timestamps
# The proper way to read kernel messages in realtime.
dmesg -wx
#==============================##==============================#
# CMD dmesg #
#==============================##==============================#
Cheatsheets are an excellent complement to other information sources like Linux man-pages, Linux help, or How-To’s and tutorials, as they provide compact and easily accessible information. While man-pages and detailed tutorials often contain comprehensive explanations and extensive guides, cheatsheets summarize the most important options forthe command dmesg in a clear format. This allows users to quickly access the needed information for dmesg without having to sift through lengthy texts. Especially in stressful situations or for recurring tasks, cheatsheets for dmesg are a valuable resource to work efficiently and purposefully.
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
█║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌
██╗ ██╗ ██████╗ ██████╗ ██╗ ██╗███████╗██████╗
████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
╚██╔═██╔╝██║ ██║██║ ██║ ╚███╔╝ █████╗ ██║ ██║
████████╗██║ ██║██║ ██║ ██╔██╗ ██╔══╝ ██║ ██║
╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═════╝
█║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.