Command line Linux Network Servers 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: 1kill $( lsof -i:1390 -t )