Re: [PLUG] correct way to do this in bash

sean finney on 23 Sep 2009 22:30:33 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] correct way to do this in bash


On Wed, Sep 23, 2009 at 06:06:50PM -0400, JP Vossen wrote:
> The easy way is to use pkill (as Sean noted), or pgrep (same thing), or 
> killall (as I noted in my sample script).
anyone who has ever adminned a sun box will vote against using killall :)
behavior of killall on linux: kill all processes matching a specific name.
behavior of killall on solaris: kill all processes (and ignore argv[1])
	sean
-- 

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug



AltStyle によって変換されたページ (->オリジナル) /