linux/solaris kill many proccess with one command
        Posted  
        
            by 
                yael
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by yael
        
        
        
        Published on 2012-11-25T14:13:52Z
        Indexed on 
            2012/11/25
            17:06 UTC
        
        
        Read the original article
        Hit count: 339
        
Is it possible to kill all find process with one command?
I do not want to kill each process as kill -9 25295 , kill -9 11994 , etc.. Rather, what I want is a simple way or command that kill all find process (my target is to perfrom this action on linux and solaris machines).
$ ps -ef | grep find 
root 25295 25290   0 08:59:59 pts/1 0:01 find /etc -type f -exec grep -l 100.106.23.152 {} ; -print
root 11994 26144   0 09:04:18 pts/1 0:00 find /etc -type f -exec grep -l 100.106.23.153 {} ; -print
root 25366 25356   0 08:59:59 pts/1 0:01 find /etc -type f -exec grep -l 100.106.23.154 {} ; -print
root 26703 26658   0 09:00:05 pts/1 0:01 find /etc -type f -exec grep -l 100.106.23.155 {} ; -print
        © Server Fault or respective owner