Ubuntu Restart command
Restart command:
1, reboot
2. shutdown-r now reboot (root user)
3, Shutdown-r 10 over 10 minutes automatic restart (root user use)
4, Shutdown-r 20:35 restart at 20:35 time (root user use)
If you set the restart through the shutdown command, you can cancel the restart with the Shutdown-c command.
Shutdown command:
1, halt immediately shut down the machine
2, Poweroff immediately shut down the machine
3, Shutdown-h now immediately shut down (root user use)
4, shutdown-h 10 10 minutes after the automatic shutdown
If you set the shutdown through the shutdown command, you can cancel the restart with the Shutdown-c command.
Ubuntu Restart Nic Method
View NIC Information: Ifconfig
Set a NIC ip:ifconfig eth1 192.168.1.10 netmask 255.255.255.0
Restart the NIC to make the setting effective: sudo/etc/init.d/networking restart
With Ubuntu-System Management-Network settings
Turn off the NIC Ifdown eth0
Turn on the NIC Ifup eth0
Restart the network card, the advantage is that you can specify a network card, do not affect other network interfaces
Ubuntu Restart command, Ubuntu restart Nic method