One minute
Kill Process Running on Certain Port
kill -9 $(lsof -i :<port> | awk '{l=$2} END {print l}')
If you get an error about missing arguments, it means that there was nothing running on that port.
Read other posts
comments powered by Disqus