diff --git a/zk/Killing_processes.md b/zk/Killing_processes.md index bc658a7..f32c455 100644 --- a/zk/Killing_processes.md +++ b/zk/Killing_processes.md @@ -17,3 +17,21 @@ $ 7890 sudo kill -9 7890 # Kill the process that is running there ``` + +## Alterntive + +```sh +ss -ltnp | grep ':8000' +``` + +Returns: + +``` +LISTEN 0 511 [::1]:8000 [::]:* users:(("node",pid=10493,fd=34)) +``` + +Kill with: + +``` +kill 10493 +```