Solution: failure to shut down normally

Source: Internet
Author: User
Solve the problem of failure to shut down normally-Linux general technology-Linux technology and application information. The following is a detailed description. Using Linux to cure Windows, Linux not only helps Windows Delete viruses that it cannot delete, but also solves the shutdown problem this time. In fact, a lot of knowledge in Linux can also be applied to Windows.

On September 1st day of last month, a colleague came to ask me what to do if my computer could not be shut down. If I say "off", I will stop there and I can only press and hold the host power switch to shut down. I said it would be good to redo the system problem once again. He said that the system would not be redone normally. Then I remembered that there was a shutdown command in Linux, So I typed "shutdown/?" In XP DOS mode /?" And I got help. At that time, I told him to go home and try it. Create a text file on the desktop and enter "shutdown-s-t 0" in the file to exit, change the extension txt of the text file to the extension bat of the batch file. If you want to shut down the file, double-click the file and tell the file "-s" to disable the computer, "-t 0" indicates that the timeout value is set to 0 seconds, that is, to close immediately.

After more than a week, this colleague told me that this method is easy to use. It is much better than the previous one if the machine is not shut down once. From the very beginning, I thought it was because a process was not over and the computer was always waiting for patience. I checked the shutdown help and asked my colleagues to keep up with the "-f" parameter after the shutdown. The application that is forced to run is closed without warning. Other parameters are retained.

A few days ago, my colleague told me that I had never been able to shut down again, and I had no need to adjust the menu.
Related Article

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.