Shell/Bash: debian network restart Example


Shell/Bash Example: This is the "debian network restart" Example. compiled from many sources on the internet by

linux restart all network interfaces

sudo service network-manager restart

debian network restart

# sudo /etc/init.d/networking restart
# sudo /etc/init.d/networking stop
# sudo /etc/init.d/networking start
# sudo systemctl restart networking

sudo systemctl restart networking

Linux Network
#To Restart network
$ sudo /etc/init.d/networking restart

#To stop and start use the following option (do not run them over remote ssh session as you will get disconnected):
$ sudo /etc/init.d/networking stop
$ sudo /etc/init.d/networking start

#Debian/Ubuntu Linux with systemd, run:
$ sudo systemctl restart networking
$ sudo systemctl restart NetworkManager.service 

* Summary: This "debian network restart" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!