how to kill a process by pid code example Example: kill a process with pid kill -9 PID # kill -9 94228