killing a process in linux code example
Example 1: kill a process with pid
kill -9 PID # kill -9 94228
Example 2: how to kill a process with linux
ps ux #list the running proccess
kill -9 <PID>
Example 3: linux kill process
ps aux | grep chrome
Example 4: how to kill a process in linux
kill -KILL PIDnumber ... for example, kill -KILL 12345