Skip to content
Scatlion
Linux

Search and kill process

Find and kill processes running on a specific port

1 min read

Find the process id that's running on a specific port:

TEXT
lsof -i :9229

Kill the process

TEXT
kill -9 15408 

In Linux, the kill -9 flag sends the SIGKILL signal, which forces a process to terminate immediately.