You need to login as root user before using the following commands!!!
RedHat Linux command to reload or restart network:
# To restart Linux network service: $ service network restart or $ /etc/init.d/network restart # To start Linux network service: $ service network start # To stop Linux network service: $ service network stopDebian Linux command to reload or restart network:
# To restart Linux network service: $ /etc/init.d/networking restart # To start Linux network service: $ /etc/init.d/networking start # To stop Linux network service: $ /etc/init.d/networking stopUbuntu Linux user use sudo command with above Debian Linux command:
# To restart Linux network service: $ sudo /etc/init.d/networking restart # To start Linux network service: $ sudo /etc/init.d/networking start # To stop Linux network service: $ sudo /etc/init.d/networking stop
Credit: http://theos.in/desktop-linux/tip-that-matters/how-do-i-restart-linux-network-service/
No comments:
Post a Comment