Ubuntu Restart command, Ubuntu restart Nic method

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.