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 firefoxIf pkill is not successful, trying adding the -9 flag. 1pkill -9 -f firefox