Watch the syslog in real time and highlight cases of ERROR or WARN showing up in them using grep color. The blank pattern in the regex 'or' will ensure you see all lines.
sudo tail -F /var/log/syslog | egrep --line-buffered --color=auto 'ERROR|WARN|$'

Follow

@climagic Weren't egrep and fgrep deprecated in 2007 and definitely removed a few months ago? Probably better to use `grep -E` these days.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.