how.wtf

Kill all processes that match a name

· Thomas Taylor

Killing all processes that match a certain substring or name is easy using pkill.

Killing all processes using pkill

pkill is a native Linux tool that provides command line access for killing or reloading processes.

To kill all processes that match a pattern:

1pkill -f firefox

If pkill is not successful, trying adding the -9 flag.

1pkill -9 -f firefox

#Linux  

Reply to this post by email ↪