kill all java processes linux

Solutions on MaxInterview for kill all java processes linux by the best coders in the world

showing results for - "kill all java processes linux"
Isaac
10 May 2017
1// You can change the to kill other processes
2
3search_terms='java' 
4
5kill $(ps aux | grep "$search_terms" | grep -v 'grep' | awk '{print $2}')
similar questions
queries leading to this page
kill all java processes linux