Unit - 5
Unit - 5
Option | Description
-a | Displays all connections and listening ports.
-n | Displays addresses and port numbers in numerical form (no DNS resolution).
-o | Shows the PID (Process ID) associated with each connection.
-r | Displays the routing table.
-e | Shows Ethernet statistics, like packets sent/received.
-s | Shows statistics for each protocol (TCP, UDP, etc.).
-p <protocol> | Shows connections for a specific protocol (e.g., netstat -p tcp).
Command-Line Interface Tools - Advanced Tools
The arp command is used to view and manage the ARP cache on a computer.
What is ARP?
ARP (Address Resolution Protocol) is a network protocol used to map an IP address to a MAC (Media
Access Control) address on a local network.
When a device wants to communicate with another device on the same network, it uses ARP to find out the
physical address associated with an IP address.