Quantcast
Viewing all articles
Browse latest Browse all 5273

Advanced users • Re: Colouring writes to 'dmesg'

Thanks, got it now !

I'm used to BNF so thought "<int>" was a non-terminal symbol, meant replace "<int>" with "1234" etc. But it's "int" which needs replacing and left between those chevrons. So ...

echo "<1>Black on Red Background" | sudo tee /dev/kmsg

Seems the best I can get with default settings is 0 = White, 1 = Black on Red, 2 = Orange-ish, 3 = Red, 4 = Bright White, but that's good enough for me.

Image may be NSFW.
Clik here to view.
Capture.GIF

Statistics: Posted by hippy — Sat Nov 30, 2024 10:59 am



Viewing all articles
Browse latest Browse all 5273

Trending Articles