How can I kill a list of processes on Unix using grep?

Posted by codeninja on Stack Overflow See other posts from Stack Overflow or by codeninja
Published on 2010-04-26T03:39:02Z Indexed on 2010/04/26 3:43 UTC
Read the original article Hit count: 359

Filed under:
|
|
|

I want to kill all the processes that have a certain name pattern

ps -A | grep php* 

and then I want to pass the PID to the kill command

how do i do that?

© Stack Overflow or respective owner

Related posts about process

Related posts about unix