Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4945

Advanced users • Re: Colouring writes to 'dmesg'

$
0
0
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.

Capture.GIF

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



Viewing all articles
Browse latest Browse all 4945

Trending Articles