kill ps aux process code example
Example 1: how to kill tasks using grep
kill -9 $(ps aux | grep KeyWordHere | awk '{print $2}')
Example 2: kill process linux
#terminate process with SIGKILL signal by process id
kill -9 pid
kill -9 $(ps aux | grep KeyWordHere | awk '{print $2}')
#terminate process with SIGKILL signal by process id
kill -9 pid