kill process with command name window code example Example: how to kill process by command name pkill firefox