From owner-freebsd-questions Thu Oct 12 16:41:38 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pc759.cs.msu.su (pc759.cs.msu.su [158.250.10.223]) by hub.freebsd.org (Postfix) with ESMTP id B4A0537B68B for ; Thu, 12 Oct 2000 16:41:31 -0700 (PDT) Received: from pc759.cs.msu.su (uucp@localhost) by pc759.cs.msu.su (8.9.3/8.9.3) with UUCP id EAA39906; Fri, 13 Oct 2000 04:00:49 +0400 (MSD) (envelope-from der@pc759.cs.msu.su) Received: from pc759.cs.msu.su (megagame.my.home [10.0.1.5]) by gateway.my.home (8.8.8/8.8.8) with ESMTP id TAA21018; Thu, 12 Oct 2000 19:44:33 +0400 (MSD) (envelope-from der@pc759.cs.msu.su) Message-ID: <39E5EB9A.74F816F7@pc759.cs.msu.su> Date: Thu, 12 Oct 2000 19:49:30 +0300 From: Alexander Derevyanko X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: en,ru MIME-Version: 1.0 To: Rolf Edwards Cc: FreeBSD.ORG!questions@pc759.cs.msu.su Subject: Re: References: <5.0.0.25.2.20001011161013.00a89868@127.0.0.1> Content-Type: text/html; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG man killall

Rolf Edwards wrote:

I am needing help writing a shell script.

It would run under sh, and it needs to get a ps of the current system, pick
out a name of a process (eg inetd) and proceed to kill it.

If there are multiple entries, kill them all.

Rolf

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message