netstat: is a utility to display TCP/IP statistics and details about TCP/IP components and connections to a host. Netstat is useful to check what ports are open on your computer, to see which network connections are currently established, to see how many packets have been handled by a network interface since it was activated, etc. Check the screenshot below:
Netstat -a – provides a list of all available TCP and UDP connections
Netstat -e – displays details of packets that have been sent
Netstat -n – lists currently connected hosts
Netstat -p – allow to specify what type of protocol you want to check
Netstat -r – provides a list of routing tables
Netstat -s – gives statistics on IPv4, IPv6, ICMP, TCP, etc.
nslookup: is a utility to query DNS tables, using this utility you can find what your DNS server is or any DNS server you specify, for example, nslookup google.com
tracert: is a utility to check connectivity from one computer to another. It gives you the details on each router as it hops from one router to another.
ipconfig: provides TCP/IP settings info, IP address, DNS server, DHCP server, default gateway etc. It is very useful when you need to troubleshoot networking problems.
To learn more about these utilities, make sure to check out my other posts below: