TIPS: how to disable the system using Linux commands
Source: Internet
Author: User
Article Title: Tips: how to disable the system using Linux commands. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic types of shutdown commands, you can safely shut down or restart the Linux system, it prompts a warning message to all login users on the system before the system is shut down. This command also allows you to specify a time parameter, which can be a precise time or a time period from now on.
The exact time format is hh: mm, indicating the hour and minute, and the time period is represented by + and the number of minutes. The system automatically synchronizes data after executing this command.
General format of the command
Shutdown [Option] [time] [Warning Information]
The meaning of each option in the command is:
-K does not actually shut down, but only sends a warning message to all users.
-R restarts immediately after shutdown.
-H: Do not restart after Shutdown
-F: Skip fsck during fast shutdown and restart
-N: fast shutdown without passing through the init program
-C. Cancel a running shutdown.
Note that this command can only be used by Super Users.
Example 1: The system shuts down in 10 minutes and restarts immediately.
# Shutdown? R + 10
Example 2: The system is shut down immediately without restarting
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