#Centos
hostnamectl
cat /etc/centos-release
cat /etc/os-release
cat /etc/*release
#Centos&Redhat
rpm -qa
interface
#show all interface
ifconfig -a
ip addr
#show specific interface
ip addr show dev eth0
arp
arp -n
ip neigh
route
route -n
ip route
net state
netstat -tunlp
ss -tunlp
Centos
cat /etc/sysconfig/network-scripts/ifcfg*
cat /etc/sysconfig/network
list package
rpm -qa
systemctl list-unit-files|grep enabled
#nfs
cat /etc/exports