Re: kill with regex?
On Sun, Jan 19, 2003 at 05:32:19PM +0100, Philipp Gruemmer wrote:
> Hugh Saunders wrote:
> > ps x gives a list of xine's which i would like to kill
> [...snip...]
> > 2) how do i get kill or bash to realise its an expression?
>
> Is there any reason not to use 'killall xine'?
> That's how I do it ususally...
'pkill xine' is better if you have a new enough version of procps, since
'killall' does ... let's say surprising things on System V-ish variants
of Unix.
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: