Last active
March 9, 2018 01:25
-
-
Save basedalexander/9005f21306ab282736460da8ba08924a 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
# local host maping at | |
/etc/hosts | |
# print interface config ifcoinfig | |
ifconfig | |
# check open ports | |
# - -t - TCP connections | |
# - -l - listening sockets | |
# - n - represent ip addresses as addresses, don't resolve the host names | |
netstat -tln | |
# checking list of dns servers | |
scutil --dns | |
nslookup example.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment