On Thu, Jan 22, 2004 at 01:47:38PM -0600, Rick Weinbender wrote:
> Is there a way to use the kill command
> to kill a process by name?
> *
> For example:  kill inetd
> I have to look up the pid number every time
> using 'ps aux' then I can kill it with 'kill pid#'

Me = Know!

kill `ps -C aux | cut -f2 -d' '`

Ha!  I am so smart!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to