Commands
Commands
2) Ping: The ping command is a network utility used to test connectivity between your device
and another device (typically a server or another computer) on a network. When you send a
ping request, it measures how long it takes for the request to go to the target device and for
the response to come back (round-trip time).
3) Pathping: The pathping command is a network diagnostic utility in Windows that combines
the functionality of two other tools: ping and tracert. It is used to trace the route from your
computer to a specified network destination and provides detailed information about the
path and performance of the network along the way.
4) Tracert: traces the path data packets take to reach a destination, showing each hop (router
or gateway) along the way.
5) Netstat: display active network connections, routing tables, interface statistics, and more.
6) Hostname: The hostname command is used to display or set the name of the current
machine (the hostname) in a network.
7) Nslookup: used to query the Domain Name System (DNS) to obtain the mapping between
domain names and IP addresses. It can be used for troubleshooting DNS issues and verifying
the DNS configuration of a network.
8) Netstat -s: The netstat -s command is used to display statistics for each protocol (such as TCP,
UDP, ICMP, etc.) that your computer uses for network communication.
9) Netstat -a: The Netstat -a command displays all active connections and listening ports on
your computer. It provides a comprehensive overview of network activity, including both
incoming and outgoing connections.
10) Netstat -r: The netstat -r command displays the routing table of your network interfaces,
providing details on how data is routed in and out of your system.
11) Getmac: getmac be a command used in various operating systems to retrieve the MAC
(Media Access Control) address of a device's network interface. The MAC address is a unique
identifier assigned to network interfaces for communications on the physical network
segment.
14) Arp -a
to manage the Address Resolution Protocol (ARP) cache. The ARP cache stores mappings between IP
addresses and MAC (Media Access Control) addresses