Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2000 17:20:08 -0500
From:      Gerd Knops <gerti@bitart.com>
To:        Rolf Edwards <redwards@meccamediagroup.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Your message of Wed, 11 Oct 2000 16:12:47 -0600
Message-ID:  <20001011222009.11618.qmail@camelot.bitart.com>
In-Reply-To: <5.0.0.25.2.20001011161013.00a89868@127.0.0.1>
References:  <5.0.0.25.2.20001011161013.00a89868@127.0.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
>
[Please use a subject line!]

killall inetd

will do this, see 'man killall'.

Gerd


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001011222009.11618.qmail>