From owner-freebsd-questions Tue Jan 28 14: 9:39 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23F6A37B401 for ; Tue, 28 Jan 2003 14:09:38 -0800 (PST) Received: from mail.econolodgetulsa.com (mail.econolodgetulsa.com [198.78.66.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id B126543F3F for ; Tue, 28 Jan 2003 14:09:37 -0800 (PST) (envelope-from user@mail.econolodgetulsa.com) Received: from mail (user@mail [198.78.66.163]) by mail.econolodgetulsa.com (8.12.3/8.12.3) with ESMTP id h0SM9cZb080732 for ; Tue, 28 Jan 2003 14:09:38 -0800 (PST) (envelope-from user@mail.econolodgetulsa.com) Date: Tue, 28 Jan 2003 14:09:38 -0800 (PST) From: Josh Brooks To: freebsd-questions@freebsd.org Subject: how to kill a while loop... Message-ID: <20030128140811.O54977-100000@mail.econolodgetulsa.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I ran a command like: while `some command` ; do something ; done & and I missed the PID output when I backgrounded it. Now I want to kill this while process, but I cannot find it anymore. I tried to ps auxw | grep while, and grep do and so on, but I cannot find the process to kill it. How can I do that ? thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message