Realize automatic shutdown of Linux system-General Linux technology-Linux technology and application information. The following is a detailed description. In some cases, automatic shutdown is essential. for example, if you want to download large objects or update them in Ubuntu, it is impossible to wait until the download is complete and then shut down the computer. In fact, there is an automatic shutdown command in Linux, that is, the shutdown command, which is very similar to the shutdown command in Windows.
For example, in the Ubuntu system, run the following command on the terminal:
Sudo shutdown + 60 refers to shutdown after 60 minutes.
If manual shutdown is useless at this time, both shutdown and restart will be logged out. use the sudo shutdown-c command to cancel the automatic shutdown command.
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