Skip to content
Advertisement

How to kill all processes with a given partial name? [closed]

I want to kill all processes that I get by:

JavaScript

How to do it?

This does not work:

JavaScript

Advertisement

Answer

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

JavaScript

Just in case it doesn’t work, try to use this one as well:

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement