3 ms·
I use this, forcibly kill, no logging, never errors, works on mac and linux: kill -9 "$(lsof -t -i:5000)" &>/dev/null || true
by silverwind 3y ago
I use this, forcibly kill, no logging, never errors, works on mac and linux:
kill -9 "$(lsof -t -i:5000)" &>/dev/null || true