Complete.Org: Mailing Lists: Archives: discussion: March 2000:
[aclug-L] Re: script to kill
Home

[aclug-L] Re: script to kill

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: discussion@xxxxxxxxx
Subject: [aclug-L] Re: script to kill
From: Brian Chapman <tchapman@xxxxxxxxxxxxx>
Date: Thu, 23 Mar 2000 10:28:47 -0600
Reply-to: discussion@xxxxxxxxx

At 3/21/00 11:38 PM , glandix@xxxxxxxxxxxxxx wrote:
> is there a way to grep out the pid of a process via bash script? 
> basically what i want to do is write a script to start a program, BUT
> at the beginning of the script kill any current processes of that
> program.  is there a simple way to do this?  is there a program or
> script that will return only the PID of a process when given the name
> of the program?
> jesse


killall prog


-- This is the discussion@xxxxxxxxx list.  To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi


[Prev in Thread] Current Thread [Next in Thread]