More ways to examine network connections on Linux

By Sandra Henry-Stocker

The ifconfig and netstat commands are incredibly useful, but there are many other commands that can also help you see what’s up with you network on Linux systems. Today’s post explores some very handy commands for examining network connections.

ip

The ip command shows a lot of the same kind of information that you’ll get when you use ifconfig. Some of the information is in a different format – e.g., “192.168.0.6/24” instead of “inet addr:192.168.0.6 Bcast:192.168.0.255” and ifconfig is better for packet counts, but the ip command has many useful options.

First, here’s the ip a command listing information on all network interfaces.

To read this article in full or to leave a comment, please click here

From: Network World

Share