From owner-freebsd-questions Wed Nov 28 13:56:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f300.law10.hotmail.com [64.4.14.175]) by hub.freebsd.org (Postfix) with ESMTP id 4EBF737B41A for ; Wed, 28 Nov 2001 13:56:40 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 28 Nov 2001 13:56:40 -0800 Received: from 65.64.1.181 by lw10fd.law10.hotmail.msn.com with HTTP; Wed, 28 Nov 2001 21:56:39 GMT X-Originating-IP: [65.64.1.181] From: "Todd Reed" To: freebsd-questions@freebsd.org Subject: Kill popd shell Script Date: Wed, 28 Nov 2001 15:56:39 -0600 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 28 Nov 2001 21:56:40.0017 (UTC) FILETIME=[8F06F410:01C17857] 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 I'm needing some help. I'm wanting to kill Popd before the system shutdowns and I would like it to be automated like the httpd and mysqld. If I run the command ps -a | grep popd | cut -c1-5, I get the PID. Is there any way to get that varible into a shell script varible without having to write it to a file then read from the file, then delete the file? Or am I going about this the wrong way? --Todd _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message