Development Hints from Bulgaria
Friday, August 9, 2013
killing app, listening on a defined port in single line
In Linux this will kill the process, listening on port 8888:
ps aux | grep port=8888 | awk '{print $2}' | tail -n 1 | xargs kill -9
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment