X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8E1CA3858D32
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1711123033;
	bh=C+6DGkr7ItaobUDu8Ih2lQcW6VNMWIenODuwQR+Trjo=;
	h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:From;
	b=y7FXSKwR5kfLbbhSl299H4v0sOUD8HEkltbU5zq8ypQoQgp7zGChG1Vjx/Mrme9ZB
	 ITwLb7rCPCyvDBBEazG5O3Q1C7qTVjMWAk/ZrpLOQyp07XEBjF/yBowhoBTjf5n0vE
	 NtmwZ0qnhVvzwbGqj+rRbELW/d/vXPnsPZMaLiZY=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E9EB1385840B
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E9EB1385840B
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711123011; cv=none;
 b=dOTmXRRxaUzUPaxC1KOZUsLmX+LfycObXwxf2Aj1OvHjiobZ8XYVoyXGR7aZpcgcyoUo5KzEAj89ATr3J0OC1RFcoBfeFrMILVHrJ8RrX8dfpvwxfIuo3NCQCCBvVBvsSKFEFLnfIc1vRpM3/aQuQtz/MfZ1vVeGlCsBNPfMBdI=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1711123011; c=relaxed/simple;
 bh=QhSDC8c7lGjA3cy5+mr2g4A17bgqPqomIl8peKJPFmI=;
 h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
 b=H11bmSJDuyORw4pEu7j3CgvKYYxEBPKs5tfuz1JdCzzUNd+iqW1VXhs6HHrZtcJarQpLEhpr6ysaeKt8W6StcS0bqifdb48S2AmKeQOYZawZWz5TxCO28eBQ6hJVYMLGXtbZKWMoDRjpICfTAmFch3PnS8Pc7InMmgE7I/GNwsA=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1711122999; x=1711727799;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=QhSDC8c7lGjA3cy5+mr2g4A17bgqPqomIl8peKJPFmI=;
 b=hrw3px4tfn5KrTbCSyjQRO7XgKcZY1+JRNuonjdf5auILKwjNFc+3po881SjB6NU3b
 5Nnsnp1xGJA9NdxNx14m0KIpFBHR2HsrhoJUg8NLMi7aEP1CGugBvy72nJZdhbCc3zLM
 wsabXjCoo3Qp5MS6sa86rzWHJh8xoUfI1HrQN6OQB+bJBmJtdI7X6/fRgWKhpVZAy39/
 USWn3j4awKvQW/J3REoNOwARDdDJ7Vg1L8nfnlDv0icJQglvuVBQhxzoAEvwzeJNdlLE
 we7uaZcIOeTCA9GIkfdjqrhjC8FfWBTn5LFCt5Auu8OVHelukOv/Nkb+falwOGSf/bXH
 S7hQ==
X-Gm-Message-State: AOJu0YwPOv/T7TpwSxh/uGvsI/fo1fALUPjMsuO2mLlBipcpUtM1IhFU
 BobNrMimMWgOkIzURzNVgandy2LrXePO2X23zWa92BqShuMB87vrqlum03cHHghiSzyf6X/gsW4
 dm9sU6ASfRP5aD3E5CTs4miqpc7O9G8eB
X-Google-Smtp-Source: AGHT+IHrvjNwrmpoqbQUk53LtU+9bLRh6EucGQA+K3RSoq4MEjO6hafYuFn18W27PCpVRT+KnliFWniTUuM/pucZEuU=
X-Received: by 2002:a17:90a:dc06:b0:29f:ef34:3004 with SMTP id
 i6-20020a17090adc0600b0029fef343004mr20867pjv.43.1711122999556; Fri, 22 Mar
 2024 08:56:39 -0700 (PDT)
MIME-Version: 1.0
Date: Fri, 22 Mar 2024 16:56:27 +0100
Message-ID: <CAL8MddXSDRFq4kdHRZdzsURr7eG7rS9A=XrcjxM=znALgN06_Q@mail.gmail.com>
Subject: Help with use of pgrep or pkill commands with full name options
To: cygwin@cygwin.com
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
 RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.30
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: J M via Cygwin <cygwin@cygwin.com>
Reply-To: J M <cesarjorgemartinez@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

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

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
