summaryrefslogtreecommitdiff
path: root/server/killit.sh
blob: ad38a6b7738c1e57d3b0f569f2ea160b786abaa3 (plain) (blame)
1
2
#!/bin/sh
ss -tlanp src 127.0.0.1:1337 | tr ' ' '\n' | grep pid | tr , '\n' | grep pid | cut -d= -f2- | xargs kill