Linux / OS

Kill All Processes With a Given Partial Name

Kill all processes that get by like below command;

ps aux | grep info_pattern

 

Use pkill -f, which matches the pattern for any part of the command line;

pkill -f info_pattern