23 Oct
2024
23 Oct
'24
07:52
In data mercoledì 23 ottobre 2024 00:31:17 Ora legale dell’Europa centrale, Robert Webb via openSUSE Users ha scritto:
To show only the clamd journal entries leading up to the first spam message:
PID_re='2066'
PATH_re='/home/mercurio/\.cache/fontconfig/[0-9abcdef]\{32\}-x86_64\.cache- 9' SPAM_re=' silversurfer clamd\['"$PID_re"'\]: File path check failure for: '"$PATH_re"'$'
journalctl -t clamd |sed -n -e "1,\\|$SPAM_re|p"
To show all the non-spam clamd messages:
journalctl -t clamd |grep -v "$SPAM_re"
To view the journal without any clamd messages:
journalctl -T clamd
-- Robert Webb
Dear Robert, very helpful, I will use this as future reference.