restart network manager rhel code example
Example 1: debian network restart
# sudo /etc/init.d/networking restart
or
# sudo /etc/init.d/networking stop
# sudo /etc/init.d/networking start
else
# sudo systemctl restart networking
Example 2: network manager restart ubuntu
sudo service network-manager restart