restart network interface centos 7 code example Example: linux restart all network interfaces sudo service network-manager restart