Last active
June 28, 2017 10:38
-
-
Save enxebre/044e60c1fee915ae8745 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # Mac restart all network interfaces | |
| for i in `ifconfig -l `; do sudo ifconfig $i down && sudo ifconfig $i up; done | |
| #Routing table. | |
| netstat -rn | |
| route -n | |
| ip route list | |
| #Checking ports. | |
| netstat –lp --inet | |
| lsof -iTCP -sTCP:LISTEN -P | |
| #Domain queries. | |
| host -a yourdomainurl | |
| dig yourdomainurl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment