kill the process with pid in mac shell code example Example: mac kill process by PID $ sudo kill -9 PID