Andreas Enge 写道:
Am Mon, Sep 26, 2022 at 06:05:31PM +0000 schrieb Gottfried:gfp@Tuxedo ~$ ps -ef | grep virtlog it comes up with:gfp 5233 5218 0 19:45 pts/0 00:00:00 grep --color=auto virtlog(the word "virtlog" is in red colour) I don't know if that means virtlogd is running?
[…]
So there is one line about grep, of no interest; and one line showing thatthe thing I am interested in, in this case shepherd, is running.
It's cosmetic, but the standard trick here is to type: $ ps -ef | grep '[v]irtlog'(or any other letter — 'virtlo[g]' also works if you remembered too late :-)
That pattern won't match itself, so grep won't show itself. Kind regards, T G-R
signature.asc
Description: PGP signature