how to restart network interface linux code example Example: linux restart all network interfaces sudo service network-manager restart