centos 网络相关命令

查看网络状态

systemctl status network

重启

systemctl restart network
systemctl restart NetworkManager

原文出处:https://malaoshi.top/show_1IX2wKP0v80J.html