Deprecated Linux networking commands
I’ve been using Linux (and other *NIX variants ) since the late 1990’s and I’ve been used to having the usual networking commands like ifconfig, arp, netstat.
I’ve always known these past few years that they have been deprecated already, and there have been a couple of times I’ve tried using the newer iproute2 commands. But since I’m used to these deprecated commands, it’s what I’ve always been using. The Linux servers I’ve been managing so far also had these deprecated commands available, so there has been no compelling reason for me to switch.
Anyway, I thought it’s time I started using the newer iproute2 commands more frequently. Below is a table of some of the frequently used commands and their iproute2 equivalent.
| Deprecated | Equivalent iproute2 command |
arp -a | ip n show |
ifconfig | ip addr show |
netstat | ss |