[CentOS] CentOS 8: what changed (regular UNIX admin commands)?

Chris Adams
2019-10-22T19:04:53Z

Once upon a time, Stephen John Smoogen <smooge at gmail.com>
said:
> I think that the deprecation of ifconfig and route was started before
> RHEL-7 came out.. and yet I just can't get used to them.

I've started using "ip" for more things lately... partly because
I'm
lazy, and once I learned the commands can be abbreviated, I can type
less. :)

ifconfig -> ip l  (or maybe ip -s l if I want counters)
route -> ip r
arp -> ip n

I'm also getting more used to nmcli for connection and configuration
management (which also allows abbreviation - wooo for laziness!).

firewalld is not really the same thing as iptables though; it's more of
a management layer on top of just writing raw rules.  One big issue I
have though is that firewalld always sets up kernel connection state
tracking, which is not a good thing for some uses (high-traffic DNS
servers for example).

The bigger change there is switching from iptables to nftables - while
you can keep using the iptables command and language (there's a
translation), to get the most out of it, you have to learn the nft
command and language (which is different).  I've barely scratched the
surface on that one.

--
Chris Adams <linux at cmadams.net>