The first thing I do on apt systems is install net-tools to get
ifconfig back. The reason being that some Linux distros have removed it entirely in lieu of
ip. There are a few stated reasons why:
ip has been the default and recommended toolchain since at least version 2.4 of the Linux kernel.
ifconfig was written for BSD, and was an awkward fit on Linux.
ifconfig is horribly broken and/or inefficient.
ipis easier to search for than
ifconfig. Okay that’s a joke, but they would have written that stack in the age of search engines.
These may be true, though I wonder why they couldn’t maintain the interface and either rewrite or extend it?
The first link above tellingly says ip can “can step in for netstat, route, and arp too.” Based on past behavior, we could be forgiven for thinking this is Linux breaking cross-platform *nix behavior again for a kudzu ending in D, which is a shame.
Whatever the case, it still doesn’t take long on a Linux box to make me miss FreeBSD.