public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Help with use of pgrep or pkill commands with full name options
@ 2024-03-22 15:56 J M
  2024-03-22 16:22 ` Brian Inglis
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: J M @ 2024-03-22 15:56 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 436 bytes --]

Help with use of pgrep or pkill commands with full name options.

I trying to use pgrep or pkill utility commands to find processes but using
the full path names, by example, find /usr/bin/bash (package procps-ng):

Then, if I use pgrep -f /usr/bin/bash, don't find nothing.

Using pkill -f /usr/bin/bash don't get the task.

If I use pidof /usr/bin/bash, this works.

How do I get it to do use pgrep, pkill, etc?

Regards,
Cesar Jorge

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-23 13:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-22 15:56 Help with use of pgrep or pkill commands with full name options J M
2024-03-22 16:22 ` Brian Inglis
2024-03-22 16:41 ` Eliot Moss
2024-03-23 13:05 ` Henry S. Thompson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).