Last active
April 12, 2018 18:15
-
-
Save vutranvn/d36b9a5afe51377d04132fab9803bebb to your computer and use it in GitHub Desktop.
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
* Services | |
lsof -PiTCP -sTCP:LISTEN | |
or | |
lsof -Pn -i4 | |
or | |
lsof -Pni4 | grep LISTEN | |
lsof -Pni4 | grep LISTEN | grep nginx | |
* Network | |
netstat -ap tcp | grep -i "listen" | |
or | |
netstat -ap tcp | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment