Re: process grep (was Re: alias rpmqa)

Joe Zeff <[email protected]> Sat, 18 Jul 2026 14:45:43 -0600
Newsgroups gmane.linux.redhat.fedora.general
Message-ID <[email protected]>
On 7/18/26 2:11 PM, Todd Zullinger wrote:
> Other than muscle memory for those who learned long before
> pgrep was common, 'ps … | grep … | grep -v grep' is not the
> ideal way to solve this problem anymore. :)

I first created that one-liner when I was doing phone support for an 
ISP.  Without the second grep, you get two lines of response, whether 
you want that second one or not, and I got tired of callers reading them 
both back to me.
-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new