Last active
July 24, 2018 11:20
-
-
Save MoathOthman/693de44543dd704a6c2e to your computer and use it in GitHub Desktop.
Commans to Close an application on some port on ubuntu/mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fuser -v 8080/tcp -- give you list of pids using that port and that protocol | |
kill -s 15 pid -- kill //the process 15 could be 9 as well | |
or fuser -f ** not sure | |
- ps -aux |grep node | |
Close an application on some port on MAC | |
lsof | grep tcp | |
kill -9 ppid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment