From: J M <cesarjorgemartinez@gmail.com>
To: cygwin@cygwin.com
Subject: Help with use of pgrep or pkill commands with full name options
Date: Fri, 22 Mar 2024 16:56:27 +0100 [thread overview]
Message-ID: <CAL8MddXSDRFq4kdHRZdzsURr7eG7rS9A=XrcjxM=znALgN06_Q@mail.gmail.com> (raw)
[-- 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
next reply other threads:[~2024-03-22 15:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-22 15:56 J M [this message]
2024-03-22 16:22 ` Brian Inglis
2024-03-22 16:41 ` Eliot Moss
2024-03-23 13:05 ` Henry S. Thompson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAL8MddXSDRFq4kdHRZdzsURr7eG7rS9A=XrcjxM=znALgN06_Q@mail.gmail.com' \
--to=cesarjorgemartinez@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).