On this page
Kill and lsof: Killing the process listening on a specific port
You have certainly already looked for ways to kill a process that’s listening on a specific port. Here’s an example for port 1390:
kill $( lsof -i:1390 -t )
Last updated 08 Mar 2007, 08:58 +0200.