linux terminate a process code example
Example 1: kill process linux
#terminate process with SIGKILL signal by process id
kill -9 pid
Example 2: how to kill process in linux
kill <processID>
#terminate process with SIGKILL signal by process id
kill -9 pid
kill <processID>