how do i kill a process using process id in mac code example Example: mac kill process by PID $ sudo kill -9 PID