linux kill a program code example
Example 1: how to kill a process with linux
ps ux #list the running proccess
kill -9 <PID>
Example 2: how to kill process in linux
kill <processID>
ps ux #list the running proccess
kill -9 <PID>
kill <processID>