ip Command: Show Addresses, Routes and Links on Linux
Use the ip command from iproute2 to list network interfaces, IP addresses, routes and neighbors, and find where ifconfig points you for link details.
Use the ip command from iproute2 to list network interfaces, IP addresses, routes and neighbors, and find where ifconfig points you for link details.
Use ss to list listening TCP and UDP ports, see which process owns each socket, and filter established connections by state and port.