How would you produce this list?

Jor-el wrote:

On Sun, 19 Jan 2003, Colin Watson wrote:


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.


Hi,

A more general solution would be :

<produce list of pids to kill> | xargs kill

Regards,
Jor-el





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

Reply via email to