in ,

Linux Tutorial: The best way to Present Realtime dmesg Output in Linux

Final Replace: Mar 25, 2023

There are a lot of occasions in Linux you wish to watch your dmesg output, particularly when working with {hardware} to see what’s happening.

There’s really a very easy to method to do that, merely open one other terminal and sort:

tail -f /var/log/messages

It will present you the final messages posted in realtime. This might go for any log you need really, and works nice.

Additionally some distrosl have “tailf” which does the identical factor.

Additionally you may pipe your kernel output to a different terminal. Open /and so forth/syslog.conf and add the next line:

kern.*          /dev/tty10

This lets you change to that terminal to see the kernel output.

I hope this helps!

Need to be taught extra about Linux? In fact you do. Take a look at this Linux Fundamentals course.
You may join a free trial right here and take it as we speak!

Supply hyperlink

What do you think?

Written by admin

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

GIPHY App Key not set. Please check settings

As much as 64% off ZMLM Scratch Artwork Paper!

Glenn Gabe On Bing Chat & Google Bard & AI Generated Content material