kill process by process id code example Example 1: linux kill process ps aux | grep chrome Example 2: how to kill process in linux kill <processID>