kill processes using command name code example Example: how to kill process by command name pkill firefox