Monday, August 13, 2012

CYGWIN - Kill all process with same name in Windows


Suppose you have several processes in Windows with same name and you want to kill them all from CYGWIN command line:

ps -W | grep WorkerProcess32.exe | grep -v grep | gawk '{print $1}' | xargs kill -f

No comments: